Skip to contentSkip to conversation

ARM: dt: Add ARM PMU to tegra*.dtsi

PATCH New Stephen Warren 2 participants 2 messages Feb 28, 2012 – Mar 4, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dt: Add ARM PMU to tegra*.dtsi

This enables HW performance measurements, and usage of the "perf" tool.

---
 arch/arm/boot/dts/tegra20.dtsi |    6 ++++++
 arch/arm/boot/dts/tegra30.dtsi |    8 ++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra20.dtsi +6 -0
index 550da98..52f83b7 100644
@@ -23,6 +23,12 @@
 		      < 0x50040100 0x0100 >;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <0 56 0x04
+			      0 57 0x04>;
+	};
+
 	apbdma: dma at 6000a000 {
 		compatible = "nvidia,tegra20-apbdma";
 		reg = <0x6000a000 0x1200>;
arch/arm/boot/dts/tegra30.dtsi +8 -0
index ac4b75c..62a7b39 100644
@@ -17,6 +17,14 @@
 		      < 0x50040100 0x0100 >;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <0 144 0x04
+			      0 145 0x04
+			      0 146 0x04
+			      0 147 0x04>;
+	};
+
 	apbdma: dma at 6000a000 {
 		compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
 		reg = <0x6000a000 0x1400>;
Signature · 1 line
1.7.0.4