]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: amazon: alpine-v2: Add default GIC address cells
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:34:24 +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-v2.dtsi:138.4-139.33: Warning (interrupt_map): /soc/pci@fbc00000:interrupt-map:
    Missing property '#address-cells' in node /soc/interrupt-controller@f0200000, 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-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/amazon/alpine-v2.dtsi

index 5a72f0b64247d591b571ded564b4aa23cdce814d..f49209fddbbb1047011c542bc2fecc0d3e06a69a 100644 (file)
                              <0x0 0xf0120000 0x0 0x2000>;      /* GICH */
                        interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-controller;
+                       #address-cells = <0>;
                        #interrupt-cells = <3>;
                };