ipq40xx: fix reset button GPIO for GL.iNet GL-B2200
authorEnrico Mioso <mrkiko.rs@gmail.com>
Fri, 3 Dec 2021 16:32:20 +0000 (17:32 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 12 Dec 2021 19:14:16 +0000 (19:14 +0000)
GL.iNet's U-Boot checks for GPIO 40, not 43.
Changing this allows the RESET button to work as expected.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
CC: Daniel Golle <daniel@makrotopia.org>
CC: Li Zhang <li.zhang@gl-inet.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts

index 6b84f78dc439fb609f0dd1965b93f4fbd2c59c1b..339a1e0f7247034d79878467ebbac14ed0854914 100644 (file)
@@ -84,7 +84,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
+                       gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                        linux,input-type = <1>;
                };