[PATCH v3 6/6] arm64: dts: allwinner: h6: pine64: Add PIO regulators

From: ClÃment PÃron
Date: Mon Apr 08 2019 - 05:22:45 EST


Add PIO regulators for Pine64 board.

Signed-off-by: ClÃment PÃron <peron.clem@xxxxxxxxx>
---
.../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
index 4802902e128f..6f2d9adf4f10 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
@@ -127,6 +127,12 @@
status = "okay";
};

+&pio {
+ vcc-pc-supply = <&reg_bldo2>;
+ vcc-pd-supply = <&reg_cldo1>;
+ vcc-pg-supply = <&reg_bldo2>;
+};
+
&r_i2c {
status = "okay";

@@ -247,6 +253,17 @@
};
};

+&r_pio {
+ /*
+ * PL0 and PL1 are used for PMIC I2C
+ * don't enable the pl-supply else
+ * it will fail at boot
+ *
+ * vcc-pl-supply = <&reg_aldo1>;
+ */
+ vcc-pm-supply = <&reg_bldo2>;
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_ph_pins>;
--
2.17.1