ARM: dts: stm32: add PWR fixed regulators on stm32mp131
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Fri, 14 Oct 2022 14:15:00 +0000 (16:15 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 24 Oct 2022 09:49:45 +0000 (11:49 +0200)
Add 1v1, 1v8 and 3v3 PWR regulators on stm32mp131. Temporary add them
as fixed regulators, waiting for full SCMI regulators support.

This is a precursor patch to enable USB support on STM32MP13.
Note: USB support requires these regulators to be enabled before
entering kernel.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp131.dtsi

index c9777a8..d9a713c 100644 (file)
                always-on;
        };
 
+       /* PWR 1v1, 1v8 and 3v3 regulators defined as fixed, waiting for SCMI */
+       reg11: reg11 {
+               compatible = "regulator-fixed";
+               regulator-name = "reg11";
+               regulator-min-microvolt = <1100000>;
+               regulator-max-microvolt = <1100000>;
+       };
+
+       reg18: reg18 {
+               compatible = "regulator-fixed";
+               regulator-name = "reg18";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
+       usb33: usb33 {
+               compatible = "regulator-fixed";
+               regulator-name = "usb33";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
+
        soc {
                compatible = "simple-bus";
                #address-cells = <1>;