ARM: dts: stm32mp157: Add vrefbuf DT node
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 26 Apr 2018 15:00:49 +0000 (17:00 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:40 +0000 (09:07 -0400)
Add vrefbuf device tree node. This allows to get
a voltage reference for ADCs.

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

index a798144de2b79ba646637452fcc08289a0e70d13..2b894162e9e963ea7cde4ed7aea3845a416bf0ad 100644 (file)
                        };
                };
 
+               vrefbuf: vrefbuf@50025000 {
+                       compatible = "st,stm32-vrefbuf";
+                       reg = <0x50025000 0x8>;
+                       regulator-min-microvolt = <1500000>;
+                       regulator-max-microvolt = <2500000>;
+                       clocks = <&rcc_clk VREF>;
+                       status = "disabled";
+               };
+
                pinctrl: pin-controller {
                        compatible = "st,stm32mp157-pinctrl";
                        #address-cells = <1>;