]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8qm: Add default GIC address cells
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 22 Aug 2025 13:31:17 +0000 (15:31 +0200)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 02:37:45 +0000 (10:37 +0800)
Add missing address-cells 0 to GIC interrupt node to silence W=1
warning:

  imx8qm-ss-hsio.dtsi:83.3-86.28: Warning (interrupt_map): /bus@5f000000/pcie@5f010000:interrupt-map:
    Missing property '#address-cells' in node /interrupt-controller@51a00000, 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: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qm.dtsi

index 827e1365b5dae438d4628852ed6884aa846eb89b..5206ca82eaf642a32299147e9c1b45704075e2b2 100644 (file)
                      <0x0 0x52000000 0 0x2000>,  /* GICC */
                      <0x0 0x52010000 0 0x1000>,  /* GICH */
                      <0x0 0x52020000 0 0x20000>; /* GICV */
+               #address-cells = <0>;
                #interrupt-cells = <3>;
                interrupt-controller;
                interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;