aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/files/arch/arm
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-13 08:02:52 +0000
committerJohn Crispin <john@openwrt.org>2014-12-13 08:02:52 +0000
commit9013a144fd4fb3b5e9e38948f85650a961053d45 (patch)
tree7cc47e44adb1af933a0ebdf7cf10ef7a3ff497c6 /target/linux/oxnas/files/arch/arm
parent4a7c88f139d0aa885b8d8f9e653c220b70a0c089 (diff)
downloadupstream-9013a144fd4fb3b5e9e38948f85650a961053d45.tar.gz
upstream-9013a144fd4fb3b5e9e38948f85650a961053d45.tar.bz2
upstream-9013a144fd4fb3b5e9e38948f85650a961053d45.zip
oxnas: also make use of the GPIO poweroff driver
Works great to power-off the kd20 ;) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43677
Diffstat (limited to 'target/linux/oxnas/files/arch/arm')
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index 79442be346..9375748b91 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@ -137,4 +137,9 @@
compatible = "gpio-fan";
gpios = <&GPIOA 2 1>;
};
+
+ gpio-poweroff {
+ compatible = "gpio-poweroff";
+ gpios = <&GPIOA 9 0>;
+ };
};