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/qca9561_tplink_archer-c6x.dtsi | |
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/qca9561_tplink_archer-c6x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi index 21a470961f..719a9d065a 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi @@ -22,13 +22,13 @@ keys { compatible = "gpio-keys"; - wifi_button { + wifi { label = "WiFi button"; linux,code = <KEY_RFKILL>; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; }; - reset_button { + reset { label = "Reset button"; linux,code = <KEY_RESTART>; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; |