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/fsl 4 $id: http://devicetree.org/schemas/iio/adc/fsl,imx7d-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale ADC found on the imx7d SoC 7 title: Freescale ADC found on the imx7d SoC 8 8 9 maintainers: 9 maintainers: 10 - Haibo Chen <haibo.chen@nxp.com> 10 - Haibo Chen <haibo.chen@nxp.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: fsl,imx7d-adc 14 const: fsl,imx7d-adc 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 interrupts: 19 interrupts: 20 maxItems: 1 20 maxItems: 1 21 21 22 clocks: 22 clocks: 23 maxItems: 1 23 maxItems: 1 24 24 25 clock-names: 25 clock-names: 26 const: adc 26 const: adc 27 27 28 vref-supply: true 28 vref-supply: true 29 29 30 "#io-channel-cells": 30 "#io-channel-cells": 31 const: 1 31 const: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - reg 35 - reg 36 - interrupts 36 - interrupts 37 - clocks 37 - clocks 38 - clock-names 38 - clock-names 39 - vref-supply 39 - vref-supply 40 - "#io-channel-cells" 40 - "#io-channel-cells" 41 41 42 additionalProperties: false 42 additionalProperties: false 43 43 44 examples: 44 examples: 45 - | 45 - | 46 #include <dt-bindings/interrupt-controller 46 #include <dt-bindings/interrupt-controller/irq.h> 47 #include <dt-bindings/clock/imx7d-clock.h> 47 #include <dt-bindings/clock/imx7d-clock.h> 48 #include <dt-bindings/interrupt-controller 48 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 soc { 49 soc { 50 #address-cells = <1>; 50 #address-cells = <1>; 51 #size-cells = <1>; 51 #size-cells = <1>; 52 adc@30610000 { 52 adc@30610000 { 53 compatible = "fsl,imx7d-adc"; 53 compatible = "fsl,imx7d-adc"; 54 reg = <0x30610000 0x10000>; 54 reg = <0x30610000 0x10000>; 55 interrupts = <GIC_SPI 98 IRQ_TYPE_ 55 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 56 clocks = <&clks IMX7D_ADC_ROOT_CLK 56 clocks = <&clks IMX7D_ADC_ROOT_CLK>; 57 clock-names = "adc"; 57 clock-names = "adc"; 58 vref-supply = <®_vcc_3v3_mcu>; 58 vref-supply = <®_vcc_3v3_mcu>; 59 #io-channel-cells = <1>; 59 #io-channel-cells = <1>; 60 }; 60 }; 61 }; 61 }; 62 ... 62 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.