forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -86,13 +86,13 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
wps_button {
|
||||
wps {
|
||||
label = "WPS button";
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
wlan_button {
|
||||
wlan {
|
||||
label = "WLAN button";
|
||||
linux,code = <KEY_RFKILL>;
|
||||
gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
||||
|
||||
Reference in New Issue
Block a user