1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/dac/nxp,lpc1850-dac.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC1850 DAC
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description:
13  Supports the DAC found on the LPC1850 SoC.
14
15properties:
16  compatible:
17    const: nxp,lpc1850-dac
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  vref-supply: true
29
30  resets:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - interrupts
37  - clocks
38  - vref-supply
39  - resets
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/lpc18xx-ccu.h>
46    soc {
47        #address-cells = <1>;
48        #size-cells = <1>;
49        dac: dac@400e1000 {
50            compatible = "nxp,lpc1850-dac";
51            reg = <0x400e1000 0x1000>;
52            interrupts = <0>;
53            clocks = <&ccu1 CLK_APB3_DAC>;
54            vref-supply = <&reg_vdda>;
55            resets = <&rgu 42>;
56        };
57    };
58...
59