From 71906dea62558731f3fed96903626204eeae535c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 12 Dec 2014 17:14:14 +0000 Subject: [PATCH] kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file Signed-off-by: Richard Kunze git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43670 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../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 0000000000..62f244cd9a --- /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 {