arm64: dts: r8a7796: Add Cortex-A53 PMU node
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 7 Mar 2017 18:03:26 +0000 (19:03 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 10 Mar 2017 09:27:37 +0000 (10:27 +0100)
Enable the performance monitor unit for the Cortex-A53 cores on the
R8A7796 SoC.

Extracted from a patch by Takeshi Kihara in the BSP.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796.dtsi

index b32a180009dd10cc5350471b1cece482fb596408..a90abf14dc4e7c79fde9bf60fc0f6a975ddeb57b 100644 (file)
                                             <&a57_1>;
                };
 
+               pmu_a53 {
+                       compatible = "arm,cortex-a53-pmu";
+                       interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-affinity = <&a53_0>,
+                                            <&a53_1>,
+                                            <&a53_2>,
+                                            <&a53_3>;
+               };
+
                cpg: clock-controller@e6150000 {
                        compatible = "renesas,r8a7796-cpg-mssr";
                        reg = <0 0xe6150000 0 0x1000>;