From: Patrice Chotard <patrice.chotard@st.com>
Date: Thu, 26 Apr 2018 15:00:49 +0000 (+0200)
Subject: ARM: dts: stm32mp157: Add vrefbuf DT node
X-Git-Tag: v2025.01-rc5-pxa1908~4348
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/git-logo.png?a=commitdiff_plain;h=dbe2fcb87d7d2a64e5ed3661e19b79f7014e5165;p=u-boot.git

ARM: dts: stm32mp157: Add vrefbuf DT node

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

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

diff --git a/arch/arm/dts/stm32mp157.dtsi b/arch/arm/dts/stm32mp157.dtsi
index a798144de2..2b894162e9 100644
--- a/arch/arm/dts/stm32mp157.dtsi
+++ b/arch/arm/dts/stm32mp157.dtsi
@@ -156,6 +156,15 @@
 			};
 		};
 
+		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>;