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/qca9531_glinet_gl-ar300m.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/qca9531_glinet_gl-ar300m.dtsi')
-rw-r--r-- | target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi index 67a3331ab3..78961bf71b 100644 --- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi +++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi @@ -20,19 +20,19 @@ pinctrl-names = "default"; pinctrl-0 = <&jtag_disable_pins>; - button0 { + reset { label = "reset"; linux,code = <KEY_RESTART>; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; }; - button1 { + right { label = "button right"; linux,code = <BTN_0>; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; - button3 { + left { label = "button left"; linux,code = <BTN_1>; gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; |