arm64: dts: apm: Update GPIO to control power-off on X-Gene v2 platforms
authorDuc Dang <dhdang@apm.com>
Thu, 25 Feb 2016 21:52:52 +0000 (13:52 -0800)
committerDuc Dang <dhdang@apm.com>
Fri, 26 Feb 2016 01:14:00 +0000 (17:14 -0800)
This patch updates gpio-keys node that supports power-off for
X-Gene v2 Merlin board to adapt with new changes in xgene-gpio-sb
driver (to support configuring some GPIO pins as interrupt pins).

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Duc Dang <dhdang@apm.com>
arch/arm64/boot/dts/apm/apm-merlin.dts

index e5ba8d5d0cae6c4b15c2e655b87c1d6abd24b7c2..387c6a8d0da9fb4d810b21066be6b5516fa88cc1 100644 (file)
@@ -30,7 +30,8 @@
                        label = "POWER";
                        linux,code = <116>;
                        linux,input-type = <0x1>;
-                       interrupts = <0x0 0x28 0x1>;
+                       interrupt-parent = <&sbgpio>;
+                       interrupts = <0x0 0x1>;
                };
        };