Skip to contentSkip to conversation

ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

PATCH In review Magnus Damm 2 participants 2 messages Jul 24, 2013 – Jul 31, 2013

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

PATCH 1/1 ARM: shmobile: r8a7740: add PMU information to r8a7740.dtsi

From: Magnus Damm <[email protected]>

Add PMU information to r8a7740.dtsi. With this included Armadillo800eva DT reference may use the PMU.

---

Dry coded based on data sheet, not runtime tested.

 arch/arm/boot/dts/r8a7740.dtsi |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/r8a7740.dtsi +5 -0
@@ -32,6 +32,11 @@
 		      <0xc2000000 0x1000>;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <0 83 4>;
+	};
+
 	/* irqpin0: IRQ0 - IRQ7 */
 	irqpin0: irqpin@e6900000 {
 		compatible = "renesas,intc-irqpin";
#1 lore raw
Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Add PMU information to r8a7740.dtsi. With this included Armadillo800eva DT reference may use the PMU.

Thanks, I will queue this up for v3.12 in the dt2 branch.

Quoted 22 lines

---

Dry coded based on data sheet, not runtime tested.

 arch/arm/boot/dts/r8a7740.dtsi |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/r8a7740.dtsi +5 -0
@@ -32,6 +32,11 @@
 		      <0xc2000000 0x1000>;
 	};
 
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		interrupts = <0 83 4>;
+	};
+
 	/* irqpin0: IRQ0 - IRQ7 */
 	irqpin0: irqpin@e6900000 {
 		compatible = "renesas,intc-irqpin";