ARM: dts: NSP: Add SP804 Support to DT
authorJon Mason <jonmason@broadcom.com>
Sat, 6 Feb 2016 17:53:39 +0000 (12:53 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Feb 2016 23:52:44 +0000 (15:52 -0800)
Add support for the ARM SP804 timer to the Northstar Plus device tree.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-nsp.dtsi

index a984baf..bed6701 100644 (file)
                        brcm,nand-has-wp;
                };
 
+               ccbtimer0: timer@34000 {
+                       compatible = "arm,sp804";
+                       reg = <0x34000 0x1000>;
+                       interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&iprocslow>;
+                       clock-names = "apb_pclk";
+               };
+
+               ccbtimer1: timer@35000 {
+                       compatible = "arm,sp804";
+                       reg = <0x35000 0x1000>;
+                       interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&iprocslow>;
+                       clock-names = "apb_pclk";
+               };
+
                i2c0: i2c@38000 {
                        compatible = "brcm,iproc-i2c";
                        reg = <0x38000 0x50>;