NXP LPC3220 SoC ADC controller

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/nxp,lpc3220-adc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Gregory Clement <gregory.clement@bootlin.com>"

This hardware block has been used on several LPC32XX SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc3220-adc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

vref-supply — not listed as required here #

true — No constraints added by this property rule.

#io-channel-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

soc {
    #address-cells = <1>;
    #size-cells = <1>;
    adc@40048000 {
        compatible = "nxp,lpc3220-adc";
        reg = <0x40048000 0x1000>;
        interrupt-parent = <&mic>;
        interrupts = <39 0>;
        vref-supply = <&vcc>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page