From dbe2fcb87d7d2a64e5ed3661e19b79f7014e5165 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Thu, 26 Apr 2018 17:00:49 +0200 Subject: [PATCH] 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 --- 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 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>; -- 2.25.1