summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-nsa310.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-12-28 15:08:49 +0100
committerArnd Bergmann <arnd@arndb.de>2013-02-28 18:57:12 +0100
commit7dcc628349de9a878c43ef4b30e6c8ccbe1d207a (patch)
tree7f8060df1e410cfe1de0fab118ee5f1a62244fd0 /arch/arm/boot/dts/kirkwood-nsa310.dts
parent12131b5424577b2eb1bef5a41220d310594e42dc (diff)
downloadlwn-7dcc628349de9a878c43ef4b30e6c8ccbe1d207a.tar.gz
lwn-7dcc628349de9a878c43ef4b30e6c8ccbe1d207a.zip
ARM: Kirkwood: Convert NSA310 to use gpio-poweroff driver
Remove the C code and add a Device Tree node for gpio-poweroff. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-nsa310.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-nsa310.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts
index 2dc1d0929e89..85cce36491da 100644
--- a/arch/arm/boot/dts/kirkwood-nsa310.dts
+++ b/arch/arm/boot/dts/kirkwood-nsa310.dts
@@ -142,6 +142,11 @@
};
};
+ gpio_poweroff {
+ compatible = "gpio-poweroff";
+ gpios = <&gpio1 16 0>;
+ };
+
regulators {
compatible = "simple-bus";
#address-cells = <1>;