diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-12-28 15:14:10 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 18:57:13 +0100 |
commit | 102c9543ff368709980c6d68b7a75f840edda6b5 (patch) | |
tree | e013e69901ef1ad9cc72ed6063b868694cf61682 /arch/arm/boot/dts | |
parent | ARM: Kirkwood: Convert NSA310 I2C to device tree (diff) | |
download | linux-102c9543ff368709980c6d68b7a75f840edda6b5.tar.xz linux-102c9543ff368709980c6d68b7a75f840edda6b5.zip |
ARM: Kirkwood: Convert NS2 to gpio-poweroff.
Remove C code and add a Device Tree node in its place.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ns2-common.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi index 77d21abfcdf7..e8e7ecef1650 100644 --- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi +++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi @@ -76,4 +76,10 @@ gpios = <&gpio0 12 0>; }; }; + + gpio_poweroff { + compatible = "gpio-poweroff"; + gpios = <&gpio0 31 0>; + }; + }; |