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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:15:35 +0000 (18:15 +0100)
[ Upstream commit bb5ad73941dc3f4e3c2241348f385da6501d50ea ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6qdl-gw5910.dtsi
arch/arm/boot/dts/imx6qdl-gw5913.dtsi

index 68e5ab2..6bb4855 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 8e23cec..696427b 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>;
                };