]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: tegra: Use correct interrupts for Tegra234 TKE
authorThierry Reding <treding@nvidia.com>
Thu, 12 Oct 2023 12:43:11 +0000 (14:43 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Oct 2023 12:43:05 +0000 (14:43 +0200)
The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
the final 6 interrupts. This prevents the TKE from requesting the RTC
interrupt (along with several GTE and watchdog interrupts).

Reported-by: Shubhi Garg <shgarg@nvidia.com>
Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234.dtsi

index d2f588d1070f724abb13b9eed6e97bba844c3f9f..3f16595d099c5620b0d2dde77f0e2c6491c4a576 100644 (file)
                                     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+                                    <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
                        status = "okay";
                };