]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: tegra: Add default GIC address cells on Tegra210
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:33:55 +0000 (15:33 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Nov 2025 21:55:11 +0000 (22:55 +0100)
Add missing address-cells 0 to GIC interrupt node to silence W=1
warning:

  tegra210.dtsi:31.3-41: Warning (interrupt_map): /pcie@1003000:interrupt-map:
    Missing property '#address-cells' in node /interrupt-controller@50041000, using 0 as fallback

Value '0' is correct because:
1. GIC interrupt controller does not have children,
2. interrupt-map property (in PCI node) consists of five components and
   the fourth component "parent unit address", which size is defined by
   '#address-cells' of the node pointed to by the interrupt-parent
   component, is not used (=0)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 44af2760a1724b010b7a7a30f8234f93a361692b..83f82598553080efb72d2e12f02065a6439dddac 100644 (file)
 
        gic: interrupt-controller@50041000 {
                compatible = "arm,gic-400";
+               #address-cells = <0>;
                #interrupt-cells = <3>;
                interrupt-controller;
                reg = <0x0 0x50041000 0x0 0x1000>,