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

  tegra132.dtsi:32.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/tegra132.dtsi

index 5bcccfef3f7f8c62c017165b39bf8569352779be..93208eb72cb076e36d1ea2d816550a82dab437d6 100644 (file)
 
        gic: interrupt-controller@50041000 {
                compatible = "arm,cortex-a15-gic";
+               #address-cells = <0>;
                #interrupt-cells = <3>;
                interrupt-controller;
                reg = <0x0 0x50041000 0x0 0x1000>,