ARM: dts: NSP: Add PMU Support to DT
authorJon Mason <jonmason@broadcom.com>
Fri, 5 Feb 2016 22:43:22 +0000 (17:43 -0500)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Feb 2016 23:52:34 +0000 (15:52 -0800)
Add support for the ARM Performance Monitor Unit 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 834862b52b5213690aad8b8fdfdd53857a921b2b..a984bafee2082d5238d620d3be1055f33930d27f 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               cpu@0 {
+               cpu0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        next-level-cache = <&L2>;
                        reg = <0x0>;
                };
 
-               cpu@1 {
+               cpu1: cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        next-level-cache = <&L2>;
                };
        };
 
+       pmu {
+               compatible = "arm,cortex-a9-pmu";
+               interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH
+                             GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-affinity = <&cpu0>, <&cpu1>;
+       };
+
        mpcore {
                compatible = "simple-bus";
                ranges = <0x00000000 0x19000000 0x00023000>;