]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apm: storm: Add default GIC address cells
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:34:17 +0000 (15:34 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 4 Sep 2025 13:50:22 +0000 (15:50 +0200)
Add missing address-cells 0 to GIC interrupt node to silence W=1
warning:

  apm-storm.dtsi:636.4-639.42: Warning (interrupt_map): /soc/pcie@1f2b0000:interrupt-map:
    Missing property '#address-cells' in node /interrupt-controller@78010000, 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)

Link: https://lore.kernel.org/r/20250822133416.312544-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/apm/apm-storm.dtsi

index 872093b05ce19f6262c4b4011e56796bc1b1d476..1b9588f7536cf44315b942a986dc891c64800ae2 100644 (file)
 
        gic: interrupt-controller@78010000 {
                compatible = "arm,cortex-a15-gic";
+               #address-cells = <0>;
                #interrupt-cells = <3>;
                interrupt-controller;
                reg = <0x0 0x78010000 0x0 0x1000>,      /* GIC Dist */