]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: tegra: Add default GIC address cells on Tegra194
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:33:54 +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:

  tegra194.dtsi:2391.4-42: Warning (interrupt_map): /bus@0/pcie@14100000:interrupt-map:
    Missing property '#address-cells' in node /bus@0/interrupt-controller@3881000, 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/tegra194.dtsi

index 1399342f23e1c4f73b278adc66dfb948fc30d326..b782f8db1288a6e72dd9bcff32a34af86a9628c1 100644 (file)
 
                gic: interrupt-controller@3881000 {
                        compatible = "arm,gic-400";
+                       #address-cells = <0>;
                        #interrupt-cells = <3>;
                        interrupt-controller;
                        reg = <0x0 0x03881000 0x0 0x1000>,