1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

ARM: dts: broadcom: align gpio-key node names with dtschema

The node names should be generic and DT schema expects certain pattern
(e.g. with key/button/switch).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Krzysztof Kozlowski 2022-06-09 13:39:30 +02:00 committed by Florian Fainelli
parent 2b0a953905
commit c5aec5611a
43 changed files with 97 additions and 97 deletions

View file

@ -70,19 +70,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -54,25 +54,25 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
brightness { button-brightness {
label = "Backlight"; label = "Backlight";
linux,code = <KEY_BRIGHTNESS_ZERO>; linux,code = <KEY_BRIGHTNESS_ZERO>;
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -104,33 +104,33 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
aoss { button-aoss {
label = "AOSS"; label = "AOSS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
}; };
/* Commit mode set by switch? */ /* Commit mode set by switch? */
mode { button-mode {
label = "Mode"; label = "Mode";
linux,code = <KEY_SETUP>; linux,code = <KEY_SETUP>;
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
}; };
/* Switch: AP mode */ /* Switch: AP mode */
sw_ap { button-sw-ap {
label = "AP"; label = "AP";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
}; };
eject { button-eject {
label = "USB eject"; label = "USB eject";
linux,code = <KEY_EJECTCD>; linux,code = <KEY_EJECTCD>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -100,33 +100,33 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
aoss { button-aoss {
label = "AOSS"; label = "AOSS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
}; };
/* Commit mode set by switch? */ /* Commit mode set by switch? */
mode { button-mode {
label = "Mode"; label = "Mode";
linux,code = <KEY_SETUP>; linux,code = <KEY_SETUP>;
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
}; };
/* Switch: AP mode */ /* Switch: AP mode */
sw_ap { button-sw-ap {
label = "AP"; label = "AP";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
}; };
eject { button-eject {
label = "USB eject"; label = "USB eject";
linux,code = <KEY_EJECTCD>; linux,code = <KEY_EJECTCD>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -29,13 +29,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -25,13 +25,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -45,7 +45,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -52,7 +52,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;

View file

@ -63,19 +63,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;

View file

@ -59,19 +59,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;

View file

@ -94,19 +94,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -60,13 +60,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -91,26 +91,26 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
aoss { button-aoss {
label = "AOSS"; label = "AOSS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
/* Switch device mode? */ /* Switch device mode? */
mode { button-mode {
label = "Mode"; label = "Mode";
linux,code = <KEY_SETUP>; linux,code = <KEY_SETUP>;
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
}; };
eject { button-eject {
label = "USB eject"; label = "USB eject";
linux,code = <KEY_EJECTCD>; linux,code = <KEY_EJECTCD>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -96,7 +96,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -45,7 +45,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -94,7 +94,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -77,13 +77,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;

View file

@ -50,13 +50,13 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;

View file

@ -80,39 +80,39 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
power { button-power {
label = "Power"; label = "Power";
linux,code = <KEY_POWER>; linux,code = <KEY_POWER>;
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
}; };
aoss { button-aoss {
label = "AOSS"; label = "AOSS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
}; };
/* Commit mode set by switch? */ /* Commit mode set by switch? */
mode { button-mode {
label = "Mode"; label = "Mode";
linux,code = <KEY_SETUP>; linux,code = <KEY_SETUP>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
}; };
/* Switch: AP mode */ /* Switch: AP mode */
sw_ap { button-sw-ap {
label = "AP"; label = "AP";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
}; };
eject { button-eject {
label = "USB eject"; label = "USB eject";
linux,code = <KEY_EJECTCD>; linux,code = <KEY_EJECTCD>;
gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;

View file

@ -32,13 +32,13 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -75,19 +75,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;

View file

@ -102,25 +102,25 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
}; };
brightness { button-brightness {
label = "Backlight"; label = "Backlight";
linux,code = <KEY_BRIGHTNESS_ZERO>; linux,code = <KEY_BRIGHTNESS_ZERO>;
gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;

View file

@ -80,13 +80,13 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;

View file

@ -72,25 +72,25 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;
}; };
reset { button-reset {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
}; };
wifi { button-wifi {
label = "Wi-Fi"; label = "Wi-Fi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
}; };
led { button-led {
label = "Backlight"; label = "Backlight";
linux,code = <KEY_BRIGHTNESS_ZERO>; linux,code = <KEY_BRIGHTNESS_ZERO>;
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;

View file

@ -86,20 +86,20 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
/* Switch: router / extender */ /* Switch: router / extender */
extender { button-extender {
label = "Extender"; label = "Extender";
linux,code = <BTN_0>; linux,code = <BTN_0>;
gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -30,19 +30,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
}; };
reset { button-reset {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -49,7 +49,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -43,7 +43,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -49,7 +49,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -37,7 +37,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;

View file

@ -89,7 +89,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -67,7 +67,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -65,25 +65,25 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
brightness { button-brightness {
label = "Backlight"; label = "Backlight";
linux,code = <KEY_BRIGHTNESS_ZERO>; linux,code = <KEY_BRIGHTNESS_ZERO>;
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
}; };
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;

View file

@ -22,7 +22,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;

View file

@ -39,7 +39,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;

View file

@ -49,7 +49,7 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;

View file

@ -59,19 +59,19 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
rfkill { button-rfkill {
label = "WiFi"; label = "WiFi";
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;

View file

@ -50,7 +50,7 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 21 GPIO_ACTIVE_LOW>;

View file

@ -47,10 +47,10 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
gpio_keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
hook { button-hook {
label = "HOOK"; label = "HOOK";
linux,code = <KEY_O>; linux,code = <KEY_O>;
gpios = <&gpio_asiu 48 0>; gpios = <&gpio_asiu 48 0>;

View file

@ -44,13 +44,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>; gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
}; };
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 9 GPIO_ACTIVE_LOW>;

View file

@ -47,13 +47,13 @@
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
wps { button-wps {
label = "WPS"; label = "WPS";
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
}; };
restart { button-restart {
label = "Reset"; label = "Reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>; gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;

View file

@ -13,7 +13,7 @@
autorepeat; autorepeat;
poll-interval = <20>; poll-interval = <20>;
reset { button-reset {
label = "reset"; label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpioa 8 GPIO_ACTIVE_LOW>; gpios = <&gpioa 8 GPIO_ACTIVE_LOW>;

View file

@ -14,7 +14,7 @@
autorepeat; autorepeat;
poll-interval = <20>; poll-interval = <20>;
reset { button-reset {
label = "reset"; label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; gpios = <&gpioa 6 GPIO_ACTIVE_LOW>;