MLK-16358-1: ARM: FSL: DTS: enable arm pmu for A53
authorFrank Li <Frank.Li@nxp.com>
Fri, 1 Sep 2017 18:06:48 +0000 (13:06 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:31 +0000 (15:38 -0500)
Enable A53 PMU for imx8

Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8-ca53.dtsi

index b1a4e4f..7f24d09 100644 (file)
@@ -13,6 +13,8 @@
  * GNU General Public License for more details.
  */
 
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+
 /{
        cpus {
                #address-cells = <2>;
                cpu_off       = <0xc4000002>;
                cpu_on        = <0xc4000003>;
        };
+
+       pmu {
+                compatible = "arm,armv8-pmuv3";
+                interrupts = <GIC_PPI 7
+                        (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
+                interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>;
+        };
 };