| 1 |
|
| 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 |
|
| 7 |
title: NXP LPC3220 SoC ADC controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Gregory Clement <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
This hardware block has been used on several LPC32XX SoCs. |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: nxp,lpc3220-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 |
"#io-channel-cells": |
| 31 |
const: 1 |
| 32 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- reg |
| 36 |
- interrupts |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
soc { |
| 43 |
#address-cells = <1>; |
| 44 |
#size-cells = <1>; |
| 45 |
adc@40048000 { |
| 46 |
compatible = "nxp,lpc3220-adc"; |
| 47 |
reg = <0x40048000 0x1000>; |
| 48 |
interrupt-parent = <&mic>; |
| 49 |
interrupts = <39 0>; |
| 50 |
vref-supply = <&vcc>; |
| 51 |
}; |
| 52 |
}; |
| 53 |
... |