Skip to content

Commit 1bc4356

Browse files
Brad Griffismehmetb0
authored andcommitted
arm64: tegra: Fix Tegra234 PCIe interrupt-map
BugLink: https://bugs.launchpad.net/bugs/2104091 commit b615fbd upstream. For interrupt-map entries, the DTS specification requires that #address-cells is defined for both the child node and the interrupt parent. For the PCIe interrupt-map entries, the parent node ("gic") has not specified #address-cells. The existing layout of the PCIe interrupt-map entries indicates that it assumes that #address-cells is zero for this node. Explicitly set #address-cells to zero for "gic" so that it complies with the device tree specification. NVIDIA EDK2 works around this issue by assuming #address-cells is zero in this scenario, but that workaround is being removed and so this update is needed or else NVIDIA EDK2 cannot successfully parse the device tree and the board cannot boot. Fixes: ec142c4 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT") Signed-off-by: Brad Griffis <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Noah Wager <[email protected]>
1 parent 4c9e06e commit 1bc4356

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra234.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,6 +4016,8 @@
40164016
#redistributor-regions = <1>;
40174017
#interrupt-cells = <3>;
40184018
interrupt-controller;
4019+
4020+
#address-cells = <0>;
40194021
};
40204022

40214023
smmu_iso: iommu@10000000 {

0 commit comments

Comments
 (0)