diff options
author | Stefan Agner <stefan@agner.ch> | 2018-02-27 16:16:10 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-02-28 04:15:12 +0100 |
commit | a934a5834d59d8529da228aec1f3f89d1be225e9 (patch) | |
tree | 70a969c5f7744978f8e52e978456d42d36825084 | |
parent | ARM: dts: imx6dl-colibri-eval-v3: Add chosen node (diff) | |
download | linux-a934a5834d59d8529da228aec1f3f89d1be225e9.tar.xz linux-a934a5834d59d8529da228aec1f3f89d1be225e9.zip |
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 <stefan@agner.ch>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm/boot/dts/imx7s.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index ec6292c5b2e4..6401b08d803e 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 = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>; + }; replicator { /* |