ath79, brcm63xx: Fix debounce-interval properties in gpio-keys-polled nodes

This patch fixes wrong usage of debounce-interval subnode property of
gpio-keys-polled nodes, which was used inproperly in parent node, but it
belongs to the subnodes, excerpt from the docs:

 Optional subnode-properties:
     - debounce-interval: Debouncing interval time in milliseconds.
       If not specified defaults to 5.

And the docs are up to date as the source code matches that description
as well:

 if (fwnode_property_read_u32(child, "debounce-interval",
                              &button->debounce_interval))
         button->debounce_interval = 5;

While at it, I've also re-formatted gpio-keys-polled nodes, usually just
adding new lines after every key subnode.

Cc: Tomasz Maciej Nowak <tomek_n@o2.pl>
Cc: Matt Merhar <mattmerhar@protonmail.com>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
Petr Štetiar 2018-12-11 23:02:04 +01:00 committed by John Crispin
parent 7bd2595b67
commit d9753f0ec5
70 changed files with 181 additions and 71 deletions

View File

@ -38,12 +38,12 @@
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "sw4"; label = "sw4";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio 8 GPIO_ACTIVE_LOW>; gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&pinctrl 25 1>; gpios = <&pinctrl 25 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 31 1>; gpios = <&pinctrl 31 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 3 1>; gpios = <&pinctrl 3 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -19,17 +19,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>; gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>; gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 32 0>; gpios = <&pinctrl 32 0>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 0>; gpios = <&pinctrl 33 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 32 0>; gpios = <&pinctrl 32 0>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 6 1>; gpios = <&pinctrl 6 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 37 0>; gpios = <&pinctrl 37 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 6 1>; gpios = <&pinctrl 6 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 6 1>; gpios = <&pinctrl 6 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 12 1>; gpios = <&pinctrl 12 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 7 1>; gpios = <&pinctrl 7 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,24 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&pinctrl 2 1>; gpios = <&pinctrl 2 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 25 1>; gpios = <&pinctrl 25 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 26 1>; gpios = <&pinctrl 26 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 6 1>; gpios = <&pinctrl 6 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 25 1>; gpios = <&pinctrl 25 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 1 0>; gpios = <&pinctrl 1 0>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
rfkill { rfkill {
label = "rfkill"; label = "rfkill";
gpios = <&pinctrl 15 1>; gpios = <&pinctrl 15 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
rfkill { rfkill {
label = "rfkill"; label = "rfkill";
gpios = <&pinctrl 9 1>; gpios = <&pinctrl 9 1>;
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
help { help {
label = "help"; label = "help";
gpios = <&pinctrl 8 1>; gpios = <&pinctrl 8 1>;
linux,code = <KEY_HELP>; linux,code = <KEY_HELP>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 9 1>; gpios = <&pinctrl 9 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
restart { restart {
label = "restart"; label = "restart";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 11 1>; gpios = <&pinctrl 11 1>;
linux,code = <KEY_CONFIG>; linux,code = <KEY_CONFIG>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
help { help {
label = "help"; label = "help";
gpios = <&pinctrl 8 1>; gpios = <&pinctrl 8 1>;
linux,code = <KEY_HELP>; linux,code = <KEY_HELP>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 9 1>; gpios = <&pinctrl 9 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
restart { restart {
label = "restart"; label = "restart";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 11 1>; gpios = <&pinctrl 11 1>;
linux,code = <KEY_CONFIG>; linux,code = <KEY_CONFIG>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
help { help {
label = "help"; label = "help";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_HELP>; linux,code = <KEY_HELP>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 9 1>; gpios = <&pinctrl 9 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
restart { restart {
label = "restart"; label = "restart";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 11 1>; gpios = <&pinctrl 11 1>;
linux,code = <KEY_CONFIG>; linux,code = <KEY_CONFIG>;
debounce-interval = <60>;
}; };
}; };

View File

@ -19,12 +19,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 12 1>; gpios = <&pinctrl 12 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
phone { phone {
label = "phone"; label = "phone";
gpios = <&pinctrl 1 1>; gpios = <&pinctrl 1 1>;
linux,code = <KEY_PHONE>; linux,code = <KEY_PHONE>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 9 1>; gpios = <&pinctrl 9 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 11 1>; gpios = <&pinctrl 11 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -17,20 +17,20 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
button1 { button1 {
label = "1"; label = "1";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
button2 { button2 {
label = "2"; label = "2";
gpios = <&pinctrl 7 1>; gpios = <&pinctrl 7 1>;
linux,code = <BTN_2>; linux,code = <BTN_2>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
service { service {
label = "service"; label = "service";
gpios = <&pinctrl 27 1>; gpios = <&pinctrl 27 1>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
debounce-interval = <60>;
}; };
clip { clip {
label = "clip"; label = "clip";
gpios = <&pinctrl 31 1>; gpios = <&pinctrl 31 1>;
linux,code = <BTN_1>; linux,code = <BTN_1>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
service { service {
label = "service"; label = "service";
gpios = <&pinctrl 27 1>; gpios = <&pinctrl 27 1>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
debounce-interval = <60>;
}; };
clip { clip {
label = "clip"; label = "clip";
gpios = <&pinctrl 31 1>; gpios = <&pinctrl 31 1>;
linux,code = <BTN_1>; linux,code = <BTN_1>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,27 +18,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
service { service {
label = "service"; label = "service";
gpios = <&pinctrl 10 1>; gpios = <&pinctrl 10 1>;
linux,code = <BTN_0>; linux,code = <BTN_0>;
debounce-interval = <60>;
}; };
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 12 1>; gpios = <&pinctrl 12 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 25 1>; gpios = <&pinctrl 25 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 36 1>; gpios = <&pinctrl 36 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -19,17 +19,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 23 1>; gpios = <&pinctrl 23 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 24 1>; gpios = <&pinctrl 24 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 13 1>; gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio0 13 1>; gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 11 0>; gpios = <&pinctrl 11 0>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
ses { ses {
label = "ses"; label = "ses";
gpios = <&pinctrl 37 1>; gpios = <&pinctrl 37 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 33 0>; gpios = <&pinctrl 33 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 33 1>; gpios = <&pinctrl 33 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 31 1>; gpios = <&pinctrl 31 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,18 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 32 0>; gpios = <&pinctrl 32 0>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 34 0>; gpios = <&pinctrl 34 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };
}; };

View File

@ -18,17 +18,19 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,12 +18,12 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
}; };

View File

@ -18,22 +18,26 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <20>; poll-interval = <20>;
debounce-interval = <60>;
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&pinctrl 32 1>; gpios = <&pinctrl 32 1>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
debounce-interval = <60>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
debounce-interval = <60>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
debounce-interval = <60>;
}; };
}; };