From: Stefan Agner Date: Tue, 27 Feb 2018 15:16:10 +0000 (+0100) Subject: ARM: dts: imx7: add CPU PMU support X-Git-Tag: v4.19~1283^2~6^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a934a5834d59d8529da228aec1f3f89d1be225e9;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: imx7: add CPU PMU support Enable support for ARM Performance Monitoring Units available on the Cortex-A7 CPU. There is only a single interrupt for the PMU in both variants of the family, i.MX 7Solo and 7Dual. Tested with perf on a i.MX 7Dual: hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available Signed-off-by: Stefan Agner Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index ec6292c..6401b08 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -130,6 +130,12 @@ #phy-cells = <0>; }; + pmu { + compatible = "arm,cortex-a7-pmu"; + interrupt-parent = <&gpc>; + interrupts = ; + interrupt-affinity = <&cpu0>; + }; replicator { /*