[PATCH v4 3/3] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node
Michael Klein
michael at fossekall.de
Wed Dec 9 16:02:21 EST 2020
Add add devicetree information for the regulator-poweroff driver.
Signed-off-by: Michael Klein <michael at fossekall.de>
---
This patch depends on the regulator names added in
arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index b43028f9e6df..e7370a049ce2 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -86,6 +86,11 @@ reg_vcc1v2: vcc1v2 {
vin-supply = <®_vcc5v0>;
};
+ poweroff {
+ compatible = "regulator-poweroff";
+ power-supply = <®_vcc1v2>;
+ };
+
wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
--
2.29.2
More information about the linux-arm-kernel
mailing list