kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Dec 2014 17:14:14 +0000 (17:14 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Dec 2014 17:14:14 +0000 (17:14 +0000)
Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43670 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 {