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: Stefan Mavrodiev <stefan@olimex.com>
[Maxime: Changed the r_pio comment a bit]
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
Stefan Mavrodiev 2019-11-29 13:39:40 +02:00 committed by Maxime Ripard
parent 88432f5f84
commit f0c3b29f56
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 21 additions and 0 deletions

View file

@ -21,3 +21,7 @@ &mmc2 {
cap-mmc-hw-reset;
status = "okay";
};
&pio {
vcc-pc-supply = <&reg_eldo1>;
};

View file

@ -163,6 +163,23 @@ &ohci1 {
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";