Skip to contentSkip to conversation

arm64: dts: imx8mq: Add ARM PMU node

PATCH Superseded Carlo Caione 2 participants 2 messages Jan 31, 2019 – Feb 1, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mq: Add ARM PMU node

Add the node for the ARM Performance Monitor Units.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +7 -0
index dbedc4a5e7fb..8b3107643ed4 100644
@@ -118,6 +118,13 @@
 		};
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-parent = <&gic>;
+		interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>;
+	};
+
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
Signature · 1 line
2.19.1
#1 lore raw
Quoted 12 lines · Carlo Caione

Add the node for the ARM Performance Monitor Units.

---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/freescale/imx8mq.dtsi +0 -0
index dbedc4a5e7fb..8b3107643ed4 100644

arch/arm64/boot/dts/freescale/imx8mq.dtsi line 122

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8mq.dtsi +2 -0
@@ -118,6 +118,13 @@
 		};
 	};
 
+	pmu {
+		compatible = "arm,armv8-pmuv3";

Please use "arm,cortex-a53-pmu".

Thanks,
Mark.

Quoted 11 lines
arch/arm64/boot/dts/freescale/imx8mq.dtsi +5 -0
+		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-parent = <&gic>;
+		interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>;
+	};
+
 	psci {
 		compatible = "arm,psci-1.0";
 		method = "smc";
Signature · 1 line
2.19.1