[openwrt/openwrt] ipq40xx: fix reset button GPIO for GL.iNet GL-B2200

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 12 11:14:39 PST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a725bdc700c9a63666ce1ef9fec1b2a65216576f

commit a725bdc700c9a63666ce1ef9fec1b2a65216576f
Author: Enrico Mioso <mrkiko.rs at gmail.com>
AuthorDate: Fri Dec 3 17:32:20 2021 +0100

    ipq40xx: fix reset button GPIO for GL.iNet GL-B2200
    
    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 at gmail.com>
    CC: Daniel Golle <daniel at makrotopia.org>
    CC: Li Zhang <li.zhang at gl-inet.com>
---
 target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
index 6b84f78dc4..339a1e0f72 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
@@ -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>;
 		};



More information about the lede-commits mailing list