bmips: dgnd3700-v2: fix gpio keys
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 24 Mar 2021 10:09:27 +0000 (11:09 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 29 Mar 2021 16:23:25 +0000 (18:23 +0200)
These GPIO keys were assigned to incorrect pins.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm6362-netgear-dgnd3700-v2.dts

index 3ad37fed7152ef37577b050e4aae8d1ab0557877..52000ba48752d655e27e98a2c0a9f37d343ee83d 100644 (file)
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
-               reset {
-                       label = "reset";
-                       gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
-                       linux,code = <KEY_RESTART>;
-                       debounce-interval = <60>;
-               };
-
                wlan {
                        label = "wlan";
-                       gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
+                       gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WLAN>;
                        debounce-interval = <60>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
+                       gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                        debounce-interval = <60>;
                };
+
+               reset {
+                       label = "reset";
+                       gpios = <&pinctrl 31 GPIO_ACTIVE_LOW>;
+                       linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+               };
        };
 
        leds {