diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-12-28 14:14:10 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 17:57:13 (GMT) |
commit | 102c9543ff368709980c6d68b7a75f840edda6b5 (patch) | |
tree | e013e69901ef1ad9cc72ed6063b868694cf61682 /arch/arm/boot | |
parent | b4d2a24fa522afd3891c9718443686cab71df24f (diff) | |
download | linux-102c9543ff368709980c6d68b7a75f840edda6b5.tar.xz |
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')
-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 77d21ab..e8e7ece 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>; + }; + }; |