[OpenWrt-Devel] [PATCH RESEND 1/2] kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file

Richard Kunze richard.kunze at web.de
Mon Dec 8 16:41:28 EST 2014


Signed-off-by: Richard Kunze <richard.kunze at web.de>
---
 .../linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch

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
index 0000000..62f244c
--- /dev/null
+++ b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch
@@ -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 {
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list