aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPatrice Chotard2018-04-26 17:00:49 +0200
committerTom Rini2018-05-08 09:07:40 -0400
commitdbe2fcb87d7d2a64e5ed3661e19b79f7014e5165 (patch)
tree0af08a49202d4ffd3ba420373ac601c1fa4e16f9 /arch/arm
parentfd92ea0d8beb35876e95d9941880df2576be537d (diff)
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/stm32mp157.dtsi9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157.dtsi b/arch/arm/dts/stm32mp157.dtsi
index a798144de2b..2b894162e9e 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>;