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 коммит произвёл Maxime Ripard
Родитель 88432f5f84
Коммит f0c3b29f56
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: E3EF0D6F671851C5
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

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

Просмотреть файл

@ -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";