Align with the datasheet by adding regulator-5v which supplies each node from the regulator using phandle to regulator-5v through pvin[1-4]-supply and lvin-supply. Co-developed-by: Mihai Sain <mihai.sain@xxxxxxxxxxxxx> Signed-off-by: Mihai Sain <mihai.sain@xxxxxxxxxxxxx> Signed-off-by: Andrei Simion <andrei.simion@xxxxxxxxxxxxx> --- .../boot/dts/microchip/at91-sama7g54_curiosity.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts index 009d2c832421..b1bdfc67aa6e 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts @@ -72,6 +72,14 @@ memory@60000000 { device_type = "memory"; reg = <0x60000000 0x10000000>; /* 256 MiB DDR3L-1066 16-bit */ }; + + reg_5v: regulator-5v { + compatible = "regulator-fixed"; + regulator-name = "5V_MAIN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; }; &adc { @@ -193,6 +201,7 @@ pmic@5b { regulators { vdd_3v3: VDD_IO { regulator-name = "VDD_IO"; + pvin1-supply = <®_5v>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-initial-mode = <2>; @@ -213,6 +222,7 @@ regulator-state-mem { vddioddr: VDD_DDR { regulator-name = "VDD_DDR"; + pvin2-supply = <®_5v>; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; regulator-initial-mode = <2>; @@ -234,6 +244,7 @@ regulator-state-mem { vddcore: VDD_CORE { regulator-name = "VDD_CORE"; + pvin3-supply = <®_5v>; regulator-min-microvolt = <1150000>; regulator-max-microvolt = <1150000>; regulator-initial-mode = <2>; @@ -254,6 +265,7 @@ regulator-state-mem { vddcpu: VDD_OTHER { regulator-name = "VDD_OTHER"; + pvin4-supply = <®_5v>; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1250000>; regulator-initial-mode = <2>; @@ -275,6 +287,7 @@ regulator-state-mem { vldo1: LDO1 { regulator-name = "LDO1"; + lvin-supply = <®_5v>; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; @@ -291,6 +304,7 @@ regulator-state-mem { vldo2: LDO2 { regulator-name = "LDO2"; + lvin-supply = <®_5v>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; -- 2.34.1