1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: STMicroelectronics STM32 Voltage reference buffer bindings 8*4882a593Smuzhiyun 9*4882a593Smuzhiyundescription: | 10*4882a593Smuzhiyun Some STM32 devices embed a voltage reference buffer which can be used as 11*4882a593Smuzhiyun voltage reference for ADCs, DACs and also as voltage reference for external 12*4882a593Smuzhiyun components through the dedicated VREF+ pin. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunmaintainers: 15*4882a593Smuzhiyun - Fabrice Gasnier <fabrice.gasnier@st.com> 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunallOf: 18*4882a593Smuzhiyun - $ref: "regulator.yaml#" 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunproperties: 21*4882a593Smuzhiyun compatible: 22*4882a593Smuzhiyun const: st,stm32-vrefbuf 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun reg: 25*4882a593Smuzhiyun maxItems: 1 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun clocks: 28*4882a593Smuzhiyun maxItems: 1 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun vdda-supply: 31*4882a593Smuzhiyun description: phandle to the vdda input analog voltage. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyunrequired: 34*4882a593Smuzhiyun - compatible 35*4882a593Smuzhiyun - reg 36*4882a593Smuzhiyun - clocks 37*4882a593Smuzhiyun - vdda-supply 38*4882a593Smuzhiyun 39*4882a593SmuzhiyununevaluatedProperties: false 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunexamples: 42*4882a593Smuzhiyun - | 43*4882a593Smuzhiyun #include <dt-bindings/clock/stm32mp1-clks.h> 44*4882a593Smuzhiyun vrefbuf@50025000 { 45*4882a593Smuzhiyun compatible = "st,stm32-vrefbuf"; 46*4882a593Smuzhiyun reg = <0x50025000 0x8>; 47*4882a593Smuzhiyun regulator-min-microvolt = <1500000>; 48*4882a593Smuzhiyun regulator-max-microvolt = <2500000>; 49*4882a593Smuzhiyun clocks = <&rcc VREF>; 50*4882a593Smuzhiyun vdda-supply = <&vdda>; 51*4882a593Smuzhiyun }; 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun... 54*4882a593Smuzhiyun 55