arm64: dts: allwinner: a64: olinuxino: Add bank supply regulators
authorStefan Mavrodiev <stefan@olimex.com>
Fri, 29 Nov 2019 11:39:40 +0000 (13:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 11 Dec 2019 09:19:11 +0000 (10:19 +0100)
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>
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts

index 96ab0227e82d187bc3b5eb50e3064dcabbe3ef3f..a1629688e694c6a3d82b982c8ac5cc222515fd10 100644 (file)
@@ -21,3 +21,7 @@
        cap-mmc-hw-reset;
        status = "okay";
 };
+
+&pio {
+       vcc-pc-supply = <&reg_eldo1>;
+};
index 01a9a52edae4afa88c43f821531345543742a64e..3e026a95a58a16904aad732a3f6cbbd00d5e74c1 100644 (file)
        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";