ARM: dts: DRA7: Add PMU nodes
authorLucas Weaver <l-weaver@ti.com>
Tue, 19 Aug 2014 13:54:00 +0000 (08:54 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 18 Sep 2014 16:58:10 +0000 (09:58 -0700)
DRA74x and DRA72x family of processors vary slightly in the number
of CPUs. So, add different instances of PMU for each of these processor
groups. Further, since the interrupts bypass crossbar and are directly
connected to GIC, mark the dts nodes with relevant information.

Tested with perf utility.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lucas Weaver <l-weaver@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra72x.dtsi
arch/arm/boot/dts/dra74x.dtsi

index f1ec22f6ebf4b16c5efe8043ffef0e7113916d78..e5a3d23a3df122895fc0672667e3cc41ac2b25e6 100644 (file)
@@ -22,4 +22,9 @@
                        reg = <0>;
                };
        };
+
+       pmu {
+               compatible = "arm,cortex-a15-pmu";
+               interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>;
+       };
 };
index a4e8bb9f95c0acee60005cdeb4b71f0336542b02..3be544c4891ff86a0541175254317e6484561a4e 100644 (file)
                        reg = <1>;
                };
        };
+
+       pmu {
+               compatible = "arm,cortex-a15-pmu";
+               interrupts = <GIC_SPI DIRECT_IRQ(131) IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI DIRECT_IRQ(132) IRQ_TYPE_LEVEL_HIGH>;
+       };
 };