62 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 ADC8 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-adc18 19 reg:20 maxItems: 121 22 interrupts:23 maxItems: 124 25 clocks:26 maxItems: 127 28 vref-supply: true29 30 resets:31 maxItems: 132 33 "#io-channel-cells":34 const: 135 36required:37 - compatible38 - reg39 - interrupts40 - clocks41 - vref-supply42 - resets43 44additionalProperties: false45 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 = <®_vdda>;58 resets = <&rgu 40>;59 };60 };61...62