diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-12-28 09:14:10 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:13 -0500 |
commit | 102c9543ff368709980c6d68b7a75f840edda6b5 (patch) | |
tree | e013e69901ef1ad9cc72ed6063b868694cf61682 /arch/arm/boot/dts | |
parent | b4d2a24fa522afd3891c9718443686cab71df24f (diff) |
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 @@ | |||
76 | gpios = <&gpio0 12 0>; | 76 | gpios = <&gpio0 12 0>; |
77 | }; | 77 | }; |
78 | }; | 78 | }; |
79 | |||
80 | gpio_poweroff { | ||
81 | compatible = "gpio-poweroff"; | ||
82 | gpios = <&gpio0 31 0>; | ||
83 | }; | ||
84 | |||
79 | }; | 85 | }; |