58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/st,stm32-vrefbuf.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectronics STM32 Voltage reference buffer8 9description: |10 Some STM32 devices embed a voltage reference buffer which can be used as11 voltage reference for ADCs, DACs and also as voltage reference for external12 components through the dedicated VREF+ pin.13 14maintainers:15 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>16 17allOf:18 - $ref: regulator.yaml#19 20properties:21 compatible:22 const: st,stm32-vrefbuf23 24 reg:25 maxItems: 126 27 clocks:28 maxItems: 129 30 vdda-supply:31 description: phandle to the vdda input analog voltage.32 33 access-controllers:34 minItems: 135 maxItems: 236 37required:38 - compatible39 - reg40 - clocks41 - vdda-supply42 43unevaluatedProperties: false44 45examples:46 - |47 #include <dt-bindings/clock/stm32mp1-clks.h>48 vrefbuf@50025000 {49 compatible = "st,stm32-vrefbuf";50 reg = <0x50025000 0x8>;51 regulator-min-microvolt = <1500000>;52 regulator-max-microvolt = <2500000>;53 clocks = <&rcc VREF>;54 vdda-supply = <&vdda>;55 };56 57...58