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-c5x.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-c5x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi index 26cc9ec2e8..00cd413bd2 100644 --- a/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi +++ b/target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi @@ -85,19 +85,19 @@ keys { compatible = "gpio-keys"; - wps_button { + wps { label = "WPS button"; linux,code = <KEY_WPS_BUTTON>; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; }; - wifi_button { + wifi { label = "WiFi button"; linux,code = <KEY_RFKILL>; gpios = <&gpio 2 GPIO_ACTIVE_LOW>; }; - reset_button { + reset { label = "Reset button"; linux,code = <KEY_RESTART>; gpios = <&gpio 21 GPIO_ACTIVE_LOW>; |