[U-Boot] [RESEND][PATCH v1 4/4] ARM: dts: stm32mp157: Add vrefbuf DT node

Patrice Chotard patrice.chotard at st.com
Thu Apr 26 15:00:49 UTC 2018


Add vrefbuf device tree node. This allows to get
a voltage reference for ADCs.

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---

 arch/arm/dts/stm32mp157.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/stm32mp157.dtsi b/arch/arm/dts/stm32mp157.dtsi
index b84899a1ea94..4b65d41f38cb 100644
--- a/arch/arm/dts/stm32mp157.dtsi
+++ b/arch/arm/dts/stm32mp157.dtsi
@@ -123,6 +123,15 @@
 			};
 		};
 
+		vrefbuf: vrefbuf at 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>;
-- 
1.9.1



More information about the U-Boot mailing list