]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: socionext: uniphier-ld20: Add default PCI interrup controller address...
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:33:19 +0000 (15:33 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Aug 2025 10:59:18 +0000 (12:59 +0200)
Add missing address-cells 0 to the PCI interrupt node to silence W=1
warning:

  uniphier-ld20.dtsi:941.4-944.29: Warning (interrupt_map): /soc@0/pcie@66000000:interrupt-map:
    Missing property '#address-cells' in node /soc@0/pcie@66000000/legacy-interrupt-controller, 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)

Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20250822133318.312232-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi

index 335093da6573129a640ff5875039d2306c26bdbc..875b93856a640c5bdeeb612a6898ef354d87f4ff 100644 (file)
 
                        pcie_intc: legacy-interrupt-controller {
                                interrupt-controller;
+                               #address-cells = <0>;
                                #interrupt-cells = <1>;
                                interrupt-parent = <&gic>;
                                interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;