ARM: dts: NSP: Add TWD Support to DT
authorJon Mason <jonmason@broadcom.com>
Mon, 2 Nov 2015 18:40:58 +0000 (13:40 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Nov 2015 18:48:56 +0000 (10:48 -0800)
Add support for the ARM TWD Timer and Watchdog 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 62bc86f..4bcdd28 100644 (file)
                        interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&periph_clk>;
                };
+
+               twd-timer@19020600 {
+                       compatible = "arm,cortex-a9-twd-timer";
+                       reg = <0x0600 0x20>;
+                       interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
+                                                 IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&periph_clk>;
+               };
+
+               twd-watchdog@19020620 {
+                       compatible = "arm,cortex-a9-twd-wdt";
+                       reg = <0x0620 0x20>;
+                       interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
+                                                 IRQ_TYPE_LEVEL_HIGH)>;
+                       clocks = <&periph_clk>;
+               };
        };
 
        clocks {