kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
authorJohn Crispin <john@openwrt.org>
Fri, 12 Dec 2014 17:14:14 +0000 (17:14 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 12 Dec 2014 17:14:14 +0000 (17:14 +0000)
Signed-off-by: Richard Kunze <richard.kunze@web.de>
SVN-Revision: 43670

target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch [new file with mode: 0644]

diff --git a/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch
new file mode 100644 (file)
index 0000000..62f244c
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
++++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
+@@ -168,6 +168,10 @@
+                       gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
+               };
+       };
++      gpio-poweroff {
++              compatible = "gpio-poweroff";
++              gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
++      };
+ };
+ &nand {