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 b42fe5596b94a0d6c0dd5e95eb46acbf84478543..fabc9f36c4084caab6e88b7bac0f30363bdfe3b5 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";
+               };
        };
 };