xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/nxp,lpc3220-adc.yaml (revision 994297b01b98816bea1abf45ae4bac1bc69ee7a0)
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,lpc3220-adc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC3220 SoC ADC controller
8
9maintainers:
10  - Gregory Clement <gregory.clement@bootlin.com>
11
12description:
13  This hardware block has been used on several LPC32XX SoCs.
14
15properties:
16  compatible:
17    const: nxp,lpc3220-adc
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  vref-supply: true
26
27  "#io-channel-cells":
28    const: 1
29
30required:
31  - compatible
32  - reg
33  - interrupts
34
35additionalProperties: false
36
37examples:
38  - |
39    soc {
40        #address-cells = <1>;
41        #size-cells = <1>;
42        adc@40048000 {
43            compatible = "nxp,lpc3220-adc";
44            reg = <0x40048000 0x1000>;
45            interrupt-parent = <&mic>;
46            interrupts = <39 0>;
47            vref-supply = <&vcc>;
48        };
49    };
50...
51