Skip to content

Commit 82fe42f

Browse files
khueythierryreding
authored andcommitted
ARM: tegra: Add Tegra124 PMU support
This patch modifies the device tree for Tegra124 based devices to enable the Cortex A15 PMU. The interrupt numbers are taken from NVIDIA Tegra K1 TRM (DP-06905-001_v03p). This patch was tested on a Jetson TK1. Signed-off-by: Kyle Huey <[email protected]> Acked-by: Mark Rutland <[email protected]> Acked-by: Jon Hunter <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 21fa196 commit 82fe42f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

arch/arm/boot/dts/tegra124.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -980,6 +980,18 @@
980980
};
981981
};
982982

983+
pmu {
984+
compatible = "arm,cortex-a15-pmu";
985+
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
986+
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
987+
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
988+
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
989+
interrupt-affinity = <&{/cpus/cpu@0}>,
990+
<&{/cpus/cpu@1}>,
991+
<&{/cpus/cpu@2}>,
992+
<&{/cpus/cpu@3}>;
993+
};
994+
983995
thermal-zones {
984996
cpu {
985997
polling-delay-passive = <1000>;

0 commit comments

Comments
 (0)