[PATCH 1/1] arm64: dts: allwinner: a64: olinuxino: Add VCC-PG supply
From: Stefan Mavrodiev
Date: Tue Nov 26 2019 - 06:15:51 EST
On A64-OLinuXino boards, PG9 is used for USB1 enable/disable. The
port is supplied by DLDO4, which is disabled by default. The patch
adds the regulator as vcc-pg, which is later used by the pinctrl.
Signed-off-by: Stefan Mavrodiev <stefan@xxxxxxxxxx>
---
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
index 01a9a52edae4..c9d8c9c4ef20 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
@@ -163,6 +163,10 @@
status = "okay";
};
+&pio {
+ vcc-pg-supply=<®_dldo4>;
+};
+
&r_rsb {
status = "okay";
--
2.17.1