]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: allwinner: a64: Add PMU node
authorHarald Geyer <harald@ccbib.org>
Wed, 19 Dec 2018 15:40:17 +0000 (15:40 +0000)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 7 Jan 2019 09:38:23 +0000 (10:38 +0100)
This is necessary to use 'perf' for cache profiling etc.
Tested on Teres I Laptop.

Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 837a03dee875c45c3c73663b35bbc78bb0f677cb..bf9b719481c4326d3ff831203ef62c93a12236d3 100644 (file)
                clock-output-names = "ext-osc32k";
        };
 
+       pmu {
+               compatible = "arm,cortex-a53-pmu";
+               interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
+       };
+
        psci {
                compatible = "arm,psci-0.2";
                method = "smc";