arm64: dts: Add sp804 DT nodes for Stingray SoC
authorAnup Patel <anup.patel@broadcom.com>
Sat, 29 Jul 2017 04:42:25 +0000 (10:12 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Aug 2017 17:29:48 +0000 (10:29 -0700)
We have 8 instances of sp804 in Stingray SoC. Let's enable
it in Stingray DT.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi

index 697401df0ab427e859d8ea91ce406ecd066a4353..19ad887a82dc80803c3cf0b8b51de56c6ffaf94d 100644 (file)
                        status = "disabled";
                };
 
+               timer0: timer@00030000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00030000 0x1000>;
+                       interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer1: timer@00040000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00040000 0x1000>;
+                       interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+               };
+
+               timer2: timer@00050000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00050000 0x1000>;
+                       interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer3: timer@00060000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00060000 0x1000>;
+                       interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer4: timer@00070000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00070000 0x1000>;
+                       interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer5: timer@00080000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00080000 0x1000>;
+                       interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer6: timer@00090000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x00090000 0x1000>;
+                       interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
+               timer7: timer@000a0000 {
+                       compatible = "arm,sp804", "arm,primecell";
+                       reg = <0x000a0000 0x1000>;
+                       interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&hsls_25m_div2_clk>,
+                                <&hsls_25m_div2_clk>,
+                                <&hsls_div4_clk>;
+                       clock-names = "timer1", "timer2", "apb_pclk";
+                       status = "disabled";
+               };
+
                i2c0: i2c@000b0000 {
                        compatible = "brcm,iproc-i2c";
                        reg = <0x000b0000 0x100>;