ARM: dts: Cygnus: Add Broadcom iproc-static-adc DT node
authorRaveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Tue, 28 Jun 2016 07:40:36 +0000 (13:10 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 5 Jul 2016 15:00:23 +0000 (08:00 -0700)
This patch adds the DT node for Broadcom's iproc-static-adc
controller driver.

Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index b42fe55..fabc9f3 100644 (file)
                        interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
                };
+
+               adc: adc@180a6000 {
+                       compatible = "brcm,iproc-static-adc";
+                       #io-channel-cells = <1>;
+                       io-channel-ranges;
+                       adc-syscon = <&ts_adc_syscon>;
+                       clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
+                       clock-names = "tsc_clk";
+                       interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
        };
 };