OSDN Git Service

ARM: dts: stm32: Add vrefbuf support to stm32mp157c
authorFabrice Gasnier <fabrice.gasnier@st.com>
Wed, 18 Apr 2018 07:47:00 +0000 (09:47 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Wed, 2 May 2018 15:18:58 +0000 (17:18 +0200)
stm32mp157c has vrefbuf regulator that can provide analog reference
voltage from 1500mV to 2500mV.

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

index 115ec73..c81f7ed 100644 (file)
                        #reset-cells = <1>;
                };
 
+               vrefbuf: vrefbuf@50025000 {
+                       compatible = "st,stm32-vrefbuf";
+                       reg = <0x50025000 0x8>;
+                       regulator-min-microvolt = <1500000>;
+                       regulator-max-microvolt = <2500000>;
+                       clocks = <&rcc VREF>;
+                       status = "disabled";
+               };
+
                usart1: serial@5c000000 {
                        compatible = "st,stm32h7-uart";
                        reg = <0x5c000000 0x400>;