1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/nxp,lpc1850-adc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC1850 ADC
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description:
13  Supports the ADC found on the LPC1850 SoC.
14
15properties:
16  compatible:
17    const: nxp,lpc1850-adc
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
33  "#io-channel-cells":
34    const: 1
35
36required:
37  - compatible
38  - reg
39  - interrupts
40  - clocks
41  - vref-supply
42  - resets
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/lpc18xx-ccu.h>
49    soc {
50        #address-cells = <1>;
51        #size-cells = <1>;
52        adc@400e3000 {
53            compatible = "nxp,lpc1850-adc";
54            reg = <0x400e3000 0x1000>;
55            interrupts = <17>;
56            clocks = <&ccu1 CLK_APB3_ADC0>;
57            vref-supply = <&reg_vdda>;
58            resets = <&rgu 40>;
59         };
60    };
61...
62