]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx7d.dtsi: add ADC support
authorHaibo Chen <haibo.chen@freescale.com>
Tue, 8 Dec 2015 10:26:22 +0000 (18:26 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Dec 2015 12:43:38 +0000 (20:43 +0800)
Add imx7d ADC support.

Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d.dtsi

index 489604a9ba91c05d1670783bd4b144ccea83b484..25ad3097874016ab3f1281e6a46d7824c7a91fc8 100644 (file)
                        reg = <0x30400000 0x400000>;
                        ranges;
 
+                       adc1: adc@30610000 {
+                               compatible = "fsl,imx7d-adc";
+                               reg = <0x30610000 0x10000>;
+                               interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks IMX7D_ADC_ROOT_CLK>;
+                               clock-names = "adc";
+                               status = "disabled";
+                       };
+
+                       adc2: adc@30620000 {
+                               compatible = "fsl,imx7d-adc";
+                               reg = <0x30620000 0x10000>;
+                               interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks IMX7D_ADC_ROOT_CLK>;
+                               clock-names = "adc";
+                               status = "disabled";
+                       };
+
                        pwm1: pwm@30660000 {
                                compatible = "fsl,imx7d-pwm", "fsl,imx27-pwm";
                                reg = <0x30660000 0x10000>;