diff mbox series

[PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators

Message ID 20220430191009.73946-1-harald@ccbib.org
State Accepted
Commit 50612cf9e05d111c21e84096e50a31d0c35d5825
Headers show
Series [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators | expand

Commit Message

Harald Geyer April 30, 2022, 7:10 p.m. UTC
Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL.

Signed-off-by: Harald Geyer <harald@ccbib.org>
---
Changes since v1:
 * Add supplies for PD and PE even though they are matched from
   'regulator-name' properties, as this is a Linuxism.
 * Add generic IO voltage as supply for PF as this is an implicit
   (chip internal) dependency.

 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index aff0660b899c..1128030e4c25 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -197,6 +197,14 @@  &ohci1 {
 	status = "okay";
 };
 
+&pio {
+	vcc-pc-supply = <&reg_dcdc1>;
+	vcc-pd-supply = <&reg_dldo2>;
+	vcc-pe-supply = <&reg_aldo1>;
+	vcc-pf-supply = <&reg_dcdc1>;  /* No dedicated supply-pin for this */
+	vcc-pg-supply = <&reg_aldo2>;
+};
+
 &pwm {
 	status = "okay";
 };