summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp157a-avenger96.dts
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-04-22 12:45:54 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2020-04-29 09:43:53 +0200
commitdff503ab76b4af30f064d45198e9ff6b35e8655d (patch)
treef4f14fab9c7991ee7597b377da09db9ad66213e3 /arch/arm/boot/dts/stm32mp157a-avenger96.dts
parentea6318dc5a1d2c4c146d9db92cbef8d9d6619461 (diff)
ARM: dts: stm32: Repair PMIC configuration on AV96
The vdd PMIC buck regulator was misconfigured, which caused instability of the board and malfunction of high-speed interfaces, like the RGMII. Configure the PMIC correctly to repair these problems. Also add missing Enpirion regulator for the IO voltage into the DT. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157a-avenger96.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157a-avenger96.dts18
1 files changed, 15 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index aba38950f2e9..380ce148520f 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -77,6 +77,17 @@
default-state = "off";
};
};
+
+ /* Enpirion EP3A8LQI U2 on the DHCOR */
+ vdd_io: regulator-buck-io {
+ compatible = "regulator-fixed";
+ regulator-name = "buck-io";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ regulator-boot-on;
+ vin-supply = <&vdd>;
+ };
};
&ethernet0 {
@@ -166,8 +177,8 @@
vdd: buck3 {
regulator-name = "vdd";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <2900000>;
+ regulator-max-microvolt = <2900000>;
regulator-always-on;
regulator-initial-mode = <0>;
regulator-over-current-protection;
@@ -245,6 +256,7 @@
regulator-name = "vbus_otg";
interrupts = <IT_OCP_OTG 0>;
interrupt-parent = <&pmic>;
+ regulator-active-discharge = <1>;
};
vbus_sw: pwr_sw2 {
@@ -275,7 +287,7 @@
};
&pwr_regulators {
- vdd-supply = <&vdd>;
+ vdd-supply = <&vdd_io>;
vdd_3v3_usbfs-supply = <&vdd_usb>;
};