arm64: dts: allwinner: H6: Add PMU mode
authorAndre Przywara <andre.przywara@arm.com>
Thu, 21 Nov 2019 01:18:33 +0000 (01:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:34:40 +0000 (08:34 +0100)
commit8f1046b33f1bf36a2a55104296ab076d1aab3455
tree43d5a186778b09aad64d58ea76161f6d03e0e070
parentefd5ce8b23a838f6577ecb8f28cd36568b4f49df
arm64: dts: allwinner: H6: Add PMU mode

[ Upstream commit 7aa9b9eb7d6a8fde7acbe0446444f7e3fae1fe3b ]

Add the Performance Monitoring Unit (PMU) device tree node to the H6
.dtsi, which tells DT users which interrupts are triggered by PMU
overflow events on each core. The numbers come from the manual and have
been checked in U-Boot and with perf in Linux.

Tested with perf record and taskset on a Pine H64.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi