提交 bfc2e5f5 编写于 作者: A Arnaud Ebalard 提交者: Jason Cooper

ARM: mvebu: Add DT entry for ReadyNAS Duo v2 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: NArnaud Ebalard <arno@natisbad.org>
Signed-off-by: NJason Cooper <jason@lakedaemon.net>
上级 100a5fa9
/dts-v1/; /dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include "kirkwood.dtsi" #include "kirkwood.dtsi"
#include "kirkwood-6282.dtsi" #include "kirkwood-6282.dtsi"
...@@ -60,6 +61,10 @@ ...@@ -60,6 +61,10 @@
marvell,pins = "mpp29"; marvell,pins = "mpp29";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
pmx_poweroff: pmx-poweroff {
marvell,pins = "mpp30";
marvell,function = "gpio";
};
}; };
clocks { clocks {
...@@ -158,6 +163,13 @@ ...@@ -158,6 +163,13 @@
}; };
}; };
gpio-poweroff {
compatible = "gpio-poweroff";
pinctrl-0 = <&pmx_poweroff>;
pinctrl-names = "default";
gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
};
regulators { regulators {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册