diff options
author | Arnaud Ebalard <arno@natisbad.org> | 2013-09-29 17:41:43 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-09-30 10:09:45 -0400 |
commit | 2832cf2558095854bcefe5a4e3690f4921f9f3a6 (patch) | |
tree | a2b1370ccbef168b00c47e934ce36f0ae1461172 /arch/arm/boot/dts/armada-370-netgear-rn102.dts | |
parent | aa06a5adb9bbebd0d694008b74233d8db4ebfa21 (diff) |
ARM: mvebu: Add DT entry for ReadyNAS 102 to use gpio-poweroff driver
Without that fix, at the end of the shutdown process, the board is
still powered (led glowing, fan running, ...).
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-netgear-rn102.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-netgear-rn102.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts index 396949d809ac..40e73be31720 100644 --- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts +++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts | |||
@@ -57,6 +57,11 @@ | |||
57 | marvell,pins = "mpp56"; | 57 | marvell,pins = "mpp56"; |
58 | marvell,function = "gpio"; | 58 | marvell,function = "gpio"; |
59 | }; | 59 | }; |
60 | |||
61 | poweroff: poweroff { | ||
62 | marvell,pins = "mpp8"; | ||
63 | marvell,function = "gpio"; | ||
64 | }; | ||
60 | }; | 65 | }; |
61 | 66 | ||
62 | mdio { | 67 | mdio { |
@@ -176,4 +181,11 @@ | |||
176 | }; | 181 | }; |
177 | }; | 182 | }; |
178 | 183 | ||
184 | gpio_poweroff { | ||
185 | compatible = "gpio-poweroff"; | ||
186 | pinctrl-0 = <&poweroff>; | ||
187 | pinctrl-names = "default"; | ||
188 | gpios = <&gpio0 8 1>; | ||
189 | }; | ||
190 | |||
179 | }; | 191 | }; |