Commit 2832cf25 authored by Arnaud Ebalard's avatar Arnaud Ebalard Committed by Jason Cooper

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: default avatarArnaud Ebalard <arno@natisbad.org>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent aa06a5ad
...@@ -57,6 +57,11 @@ backup_led_pin: backup-led-pin { ...@@ -57,6 +57,11 @@ backup_led_pin: backup-led-pin {
marvell,pins = "mpp56"; marvell,pins = "mpp56";
marvell,function = "gpio"; marvell,function = "gpio";
}; };
poweroff: poweroff {
marvell,pins = "mpp8";
marvell,function = "gpio";
};
}; };
mdio { mdio {
...@@ -176,4 +181,11 @@ button@3 { ...@@ -176,4 +181,11 @@ button@3 {
}; };
}; };
gpio_poweroff {
compatible = "gpio-poweroff";
pinctrl-0 = <&poweroff>;
pinctrl-names = "default";
gpios = <&gpio0 8 1>;
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment