]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32mp157: Add SoC pwr regulator entry
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 26 Apr 2018 14:45:19 +0000 (16:45 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:38 +0000 (09:07 -0400)
Add SoC power regulator entry for reg11, reg18 and usb33
regulator.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157.dtsi

index b84899a1ea94c1990dd00e19a38b28fb65530b17..a798144de2b79ba646637452fcc08289a0e70d13 100644 (file)
                        };
                };
 
+               pwr: pwr@50001000 {
+                       compatible = "st,stm32mp1-pwr", "st,stm32-pwr", "syscon", "simple-mfd";
+                       reg = <0x50001000 0x400>;
+                       system-power-controller;
+                       interrupts = <GIC_SPI 149 IRQ_TYPE_NONE>;
+                       st,sysrcc = <&rcc>;
+                       clocks = <&rcc_clk PLL2_R>;
+                       clock-names = "phyclk";
+
+                       pwr-regulators@c {
+                               compatible = "st,stm32mp1,pwr-reg";
+                               st,tzcr = <&rcc 0x0 0x1>;
+
+                               reg11: reg11 {
+                                       regulator-name = "reg11";
+                                       regulator-min-microvolt = <1100000>;
+                                       regulator-max-microvolt = <1100000>;
+                               };
+
+                               reg18: reg18 {
+                                       regulator-name = "reg18";
+                                       regulator-min-microvolt = <1800000>;
+                                       regulator-max-microvolt = <1800000>;
+                               };
+
+                               usb33: usb33 {
+                                       regulator-name = "usb33";
+                                       regulator-min-microvolt = <3300000>;
+                                       regulator-max-microvolt = <3300000>;
+                               };
+                       };
+               };
+
                pinctrl: pin-controller {
                        compatible = "st,stm32mp157-pinctrl";
                        #address-cells = <1>;