ARM: mvebu: Add DT entry for ReadyNAS 102 to use gpio-poweroff driver
authorArnaud Ebalard <arno@natisbad.org>
Sun, 29 Sep 2013 21:41:43 +0000 (23:41 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 30 Sep 2013 14:09:45 +0000 (14:09 +0000)
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>
arch/arm/boot/dts/armada-370-netgear-rn102.dts

index 396949d..40e73be 100644 (file)
                                        marvell,pins = "mpp56";
                                        marvell,function = "gpio";
                                };
+
+                               poweroff: poweroff {
+                                       marvell,pins = "mpp8";
+                                       marvell,function = "gpio";
+                               };
                        };
 
                        mdio {
                };
        };
 
+       gpio_poweroff {
+               compatible = "gpio-poweroff";
+               pinctrl-0 = <&poweroff>;
+               pinctrl-names = "default";
+               gpios = <&gpio0 8 1>;
+       };
+
 };