From: Patrice Chotard Date: Thu, 26 Apr 2018 14:45:19 +0000 (+0200) Subject: ARM: dts: stm32mp157: Add SoC pwr regulator entry X-Git-Tag: v2018.07-rc1~206 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7c339bbae6629d4d7a717ee553fc53e7fbc6dfa5;p=u-boot ARM: dts: stm32mp157: Add SoC pwr regulator entry Add SoC power regulator entry for reg11, reg18 and usb33 regulator. Signed-off-by: Patrice Chotard --- diff --git a/arch/arm/dts/stm32mp157.dtsi b/arch/arm/dts/stm32mp157.dtsi index b84899a1ea..a798144de2 100644 --- a/arch/arm/dts/stm32mp157.dtsi +++ b/arch/arm/dts/stm32mp157.dtsi @@ -123,6 +123,39 @@ }; }; + pwr: pwr@50001000 { + compatible = "st,stm32mp1-pwr", "st,stm32-pwr", "syscon", "simple-mfd"; + reg = <0x50001000 0x400>; + system-power-controller; + interrupts = ; + 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>;