2
0
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:
Adrian Schmutzler
2019-11-07 17:03:50 +01:00
parent edbadec843
commit 4176100b06
18 changed files with 30 additions and 30 deletions

View File

@@ -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>;