arm64: dts: allwinner: a64: Add gpio bank supply for A64-Olinuxino
authorEmmanuel Vadot <manu@freebsd.org>
Sat, 18 Jan 2020 15:24:59 +0000 (16:24 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 07:57:43 +0000 (08:57 +0100)
Add the regulators for each bank on this boards.
For VCC-PL only add a comment on what regulator is used. We cannot add
the property without causing a circular dependency as the PL pins are
used to talk to the PMIC.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts

index 6dfafa1..5fa9ca0 100644 (file)
         */
 };
 
+&pio {
+       vcc-pa-supply = <&reg_dcdc1>;
+       vcc-pb-supply = <&reg_dcdc1>;
+       vcc-pc-supply = <&reg_dcdc1>;
+       vcc-pd-supply = <&reg_dcdc1>;
+       vcc-pe-supply = <&reg_aldo1>;
+       vcc-pf-supply = <&reg_dcdc1>;
+       vcc-pg-supply = <&reg_dldo4>;
+       vcc-ph-supply = <&reg_dcdc1>;
+};
+
 &r_rsb {
        status = "okay";
 
        };
 };
 
+/* VCC-PL is powered by aldo2 but we cannot add it as the RSB */
+/* interface used to talk to the PMIC in on the PL pins */
+/* &r_pio { */
+/*     vcc-pl-supply = <&reg_aldo2>; */
+/* }; */
+
 #include "axp803.dtsi"
 
 &ac_power_supply {