Unverified Commit f0c3b29f authored by Stefan Mavrodiev's avatar Stefan Mavrodiev Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: olinuxino: Add bank supply regulators



Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL. This
patch adds regulators for them to the pinctrl node.

Exception is PL which is used by the RSB bus. To avoid circular
dependencies, VCC-PL is omitted.

On boards with eMMC, VCC-PC is supplied by ELDO1, instead of DCDC1.

Signed-off-by: default avatarStefan Mavrodiev <stefan@olimex.com>
[Maxime: Changed the r_pio comment a bit]
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 88432f5f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,3 +21,7 @@
	cap-mmc-hw-reset;
	status = "okay";
};

&pio {
	vcc-pc-supply = <&reg_eldo1>;
};
+17 −0
Original line number Diff line number Diff line
@@ -163,6 +163,23 @@
	status = "okay";
};

&pio {
	vcc-pc-supply = <&reg_dcdc1>;
	vcc-pd-supply = <&reg_dcdc1>;
	vcc-pe-supply = <&reg_aldo1>;
	vcc-pg-supply = <&reg_dldo4>;
};

&r_pio {
	/*
	 * FIXME: We can't add that supply for now since it would
	 * create a circular dependency between pinctrl, the regulator
	 * and the RSB Bus.
	 *
	 * vcc-pl-supply = <&reg_aldo2>;
	 */
};

&r_rsb {
	status = "okay";