1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/nxp 4 $id: http://devicetree.org/schemas/iio/adc/nxp,lpc1850-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NXP LPC1850 ADC 7 title: NXP LPC1850 ADC 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 11 12 description: 12 description: 13 Supports the ADC found on the LPC1850 SoC. 13 Supports the ADC found on the LPC1850 SoC. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: nxp,lpc1850-adc 17 const: nxp,lpc1850-adc 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 interrupts: 22 interrupts: 23 maxItems: 1 23 maxItems: 1 24 24 25 clocks: 25 clocks: 26 maxItems: 1 26 maxItems: 1 27 27 28 vref-supply: true 28 vref-supply: true 29 29 30 resets: 30 resets: 31 maxItems: 1 31 maxItems: 1 32 32 33 "#io-channel-cells": 33 "#io-channel-cells": 34 const: 1 34 const: 1 35 35 36 required: 36 required: 37 - compatible 37 - compatible 38 - reg 38 - reg 39 - interrupts 39 - interrupts 40 - clocks 40 - clocks 41 - vref-supply 41 - vref-supply 42 - resets 42 - resets 43 43 44 additionalProperties: false 44 additionalProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 #include <dt-bindings/clock/lpc18xx-ccu.h> 48 #include <dt-bindings/clock/lpc18xx-ccu.h> 49 soc { 49 soc { 50 #address-cells = <1>; 50 #address-cells = <1>; 51 #size-cells = <1>; 51 #size-cells = <1>; 52 adc@400e3000 { 52 adc@400e3000 { 53 compatible = "nxp,lpc1850-adc"; 53 compatible = "nxp,lpc1850-adc"; 54 reg = <0x400e3000 0x1000>; 54 reg = <0x400e3000 0x1000>; 55 interrupts = <17>; 55 interrupts = <17>; 56 clocks = <&ccu1 CLK_APB3_ADC0>; 56 clocks = <&ccu1 CLK_APB3_ADC0>; 57 vref-supply = <®_vdda>; 57 vref-supply = <®_vdda>; 58 resets = <&rgu 40>; 58 resets = <&rgu 40>; 59 }; 59 }; 60 }; 60 }; 61 ... 61 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.