1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/iio/dac/st,stm32-dac.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: STMicroelectronics STM32 DAC bindings
10 The STM32 DAC is a 12-bit voltage output digital-to-analog converter. The DAC
11 may be configured in 8 or 12-bit mode. It has two output channels, each with
13 It has built-in noise and triangle waveform generator and supports external
14 triggers for conversions. The DAC's output buffer allows a high drive output
18 - Fabrice Gasnier <fabrice.gasnier@st.com>
40 description: Phandle to the vref input analog reference voltage.
48 additionalProperties: false
63 A DAC block node should contain at least one subnode, representing an
64 DAC instance/channel available on the machine.
71 description: Must be either 1 or 2, to define (single) channel in use
77 additionalProperties: false
86 // Example on stm32mp157c
87 #include <dt-bindings/clock/stm32mp1-clks.h>
89 compatible = "st,stm32h7-dac-core";
90 reg = <0x40017000 0x400>;
91 clocks = <&rcc DAC12>;
93 vref-supply = <&vref>;
98 compatible = "st,stm32-dac";
99 #io-channel-cells = <1>;
104 compatible = "st,stm32-dac";
105 #io-channel-cells = <1>;