Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 988ec985 authored by Will Deacon's avatar Will Deacon Committed by Kevin Hilman
Browse files

arm64: dts: add interrupt-affinity property to pmu node for juno



Make the Juno .dts robust against potential reordering of the CPU nodes
by adding an explicit interrupt-affinity property to the PMU node. While
we're at it, fix the PMU interrupts numbers too.

Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
(cherry picked from commit 2b01311afc120ffb0ce5ec94721a77f05c84763f)
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent 39a0c7ec
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -120,12 +120,18 @@

	pmu {
		compatible = "arm,armv8-pmuv3";
		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
		interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-affinity = <&A57_0>,
				     <&A57_1>,
				     <&A53_0>,
				     <&A53_1>,
				     <&A53_2>,
				     <&A53_3>;
	};

	/include/ "juno-clocks.dtsi"