ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
authorTim Harvey <tharvey@gateworks.com>
Thu, 29 Sep 2022 19:52:22 +0000 (12:52 -0700)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Oct 2022 08:26:31 +0000 (16:26 +0800)
The GW5910 and GW5913 have a user pushbutton that is tied to the
Gateworks System Controller GPIO offset 2. Fix the invalid offset of 0.

Fixes: 64bf0a0af18d ("ARM: dts: imx6qdl-gw: add Gateworks System Controller support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-gw5910.dtsi
arch/arm/boot/dts/imx6qdl-gw5913.dtsi

index 68e5ab2e27e2218f3f5ec8c89d2f0a8af848c26d..6bb4855d13ce51ec179d82c622b1b24e05d15cfe 100644 (file)
@@ -29,7 +29,7 @@
 
                user-pb {
                        label = "user_pb";
-                       gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
index 8e23cec7149e5338d8569b3f14516b4e37bc4ff2..696427b487f0122a8e31af2c931dd4f32754e062 100644 (file)
@@ -26,7 +26,7 @@
 
                user-pb {
                        label = "user_pb";
-                       gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };