diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-07 17:03:50 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-07 17:13:18 +0100 |
commit | 4176100b0690db3a53cb6fcfe70dbf9e7d59347e (patch) | |
tree | 306e60391da3124d42220a756aa39a945d25d266 /target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts | |
parent | edbadec843a77286d4f690a3641b7bca97f4c998 (diff) | |
download | upstream-4176100b0690db3a53cb6fcfe70dbf9e7d59347e.tar.gz upstream-4176100b0690db3a53cb6fcfe70dbf9e7d59347e.tar.bz2 upstream-4176100b0690db3a53cb6fcfe70dbf9e7d59347e.zip |
ath79: replace generic button node names
In several DTS files, button nodes are just named buttonX or
xxx_button. This replaces the names with more specific names matching
the majority of key definitions.
While at it, fix name of keys node in one case.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts index 9b222904e1..3cd5c130c8 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts @@ -49,14 +49,14 @@ keys { compatible = "gpio-keys"; - button0 { + reset { label = "reset"; linux,code = <KEY_RESTART>; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; debounce-interval = <60>; }; - button1 { + sw1 { label = "sw1"; linux,input-type = <EV_SW>; linux,code = <BTN_0>; @@ -64,7 +64,7 @@ debounce-interval = <60>; }; - button2 { + sw2 { label = "sw2"; linux,input-type = <EV_SW>; linux,code = <BTN_1>; |