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
7 title: NXP LPC1850 ADC bindings
8
9 maintainers:
10 - Jonathan Cameron <jic23@kernel.org>
11
12 description:
13 Supports the ADC found on the LPC1850 SoC.
14
15 properties:
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
36 required:
37 - compatible
38 - reg
39 - interrupts
40 - clocks
41 - vref-supply
42 - resets
43
44 additionalProperties: false
45
46 examples:
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 = <®_vdda>;
58 resets = <&rgu 40>;
59 };
60 };
61 ...
Cache object: 6767a36eceaecadc42ccec89145734f9
|