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

  alpine-v3.dtsi:342.4-349.33: Warning (interrupt_map): /soc/pcie@fbd00000:interrupt-map:
    Missing property '#address-cells' in node /soc/interrupt-controller@f0800000, 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/20250822133423.312621-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/amazon/alpine-v3.dtsi

index dea60d136c2e3d7d95c8ddafcd06af896e47a2b1..bd35e0e9d0ab5ac51fb762c6b5c5038eb7aaee59 100644 (file)
 
                gic: interrupt-controller@f0800000 {
                        compatible = "arm,gic-v3";
+                       #address-cells = <0>;
                        #interrupt-cells = <3>;
                        interrupt-controller;
                        reg = <0x0 0xf0800000 0 0x10000>,       /* GICD */