aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/armada-370-netgear-rn102.dts
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-09-29 14:36:41 -0400
committerJason Cooper <jason@lakedaemon.net>2013-09-30 10:03:40 -0400
commitaa06a5adb9bbebd0d694008b74233d8db4ebfa21 (patch)
treeec114fd131f5bb32d5087810bac61b37ae229aba /arch/arm/boot/dts/armada-370-netgear-rn102.dts
parentddf7e399024aa908573a08d6339cefa6253b83db (diff)
ARM: mvebu: fix ReadyNAS 102 Power button GPIO to make it active high
NETGEAR ReadyNAS 102 Power button definition in .dts file flags associated GPIO active low instead of active high. This results in reversed events reported by input subsystem (0 returned when the button is pressed, 1 when released). This patch makes associated GPIO active high to recover correct behaviour. Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-netgear-rn102.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-netgear-rn102.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
index 05e4485a8225..396949d809ac 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -160,7 +160,7 @@
160 button@1 { 160 button@1 {
161 label = "Power Button"; 161 label = "Power Button";
162 linux,code = <116>; /* KEY_POWER */ 162 linux,code = <116>; /* KEY_POWER */
163 gpios = <&gpio1 30 1>; 163 gpios = <&gpio1 30 0>;
164 }; 164 };
165 165
166 button@2 { 166 button@2 {