apm821xx: align gpio-keys node names with dt-schema
As per the series:
<https://www.spinics.net/lists/devicetree/msg508906.html>
"Enforce specific naming pattern for children (keys) to narrow the
pattern thus do not match other properties. This will require all
children to be properly prefixed or suffixed (button, event, switch
or key)."
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit cd1b4ea5aa)
This commit is contained in:
parent
0de4afafb6
commit
19e9aadb89
@ -176,7 +176,7 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
button-restart {
|
||||
/* Label as per Meraki's "MR24 Installation Guide" */
|
||||
label = "Factory Reset Button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
button-restart {
|
||||
label = "Reset button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
|
||||
|
||||
@ -121,7 +121,7 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
button-restart {
|
||||
label = "Reset Button";
|
||||
gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
|
||||
@ -325,7 +325,7 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
reset {
|
||||
button-restart {
|
||||
label = "Reset button";
|
||||
gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RESTART>;
|
||||
@ -334,7 +334,7 @@
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
|
||||
backup_hd {
|
||||
button-backup_hd {
|
||||
label = "Backup HD button";
|
||||
gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <BTN_0>;
|
||||
@ -343,7 +343,7 @@
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
|
||||
rfkill {
|
||||
button-rfkill {
|
||||
label = "RFKILL button";
|
||||
gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_RFKILL>;
|
||||
@ -352,7 +352,7 @@
|
||||
debounce-interval = <60>;
|
||||
};
|
||||
|
||||
wps {
|
||||
button-wps {
|
||||
label = "WPS button";
|
||||
gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <KEY_WPS_BUTTON>;
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
poll-interval = <60>; /* 3 * 20 = 60ms */
|
||||
autorepeat;
|
||||
|
||||
reset-button {
|
||||
button-restart {
|
||||
label = "Reset button";
|
||||
linux,code = <KEY_RESTART>;
|
||||
gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user