ARM: dts: imx6ul: Add ADC support
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 4 Nov 2015 12:54:50 +0000 (10:54 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Dec 2015 12:42:22 +0000 (20:42 +0800)
Add support for ADC1.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul.dtsi

index 0e9716b..99b6465 100644 (file)
                                status = "disabled";
                        };
 
+                       adc1: adc@02198000 {
+                               compatible = "fsl,imx6ul-adc", "fsl,vf610-adc";
+                               reg = <0x02198000 0x4000>;
+                               interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clks IMX6UL_CLK_ADC1>;
+                               num-channels = <2>;
+                               clock-names = "adc";
+                               fsl,adck-max-frequency = <30000000>, <40000000>,
+                                                        <20000000>;
+                               status = "disabled";
+                       };
+
                        i2c1: i2c@021a0000 {
                                #address-cells = <1>;
                                #size-cells = <0>;