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

  tmpv7708.dtsi:503.4-507.28: Warning (interrupt_map): /soc/pcie@28400000:interrupt-map:
    Missing property '#address-cells' in node /soc/interrupt-controller@24001000, 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: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba>
Link: https://lore.kernel.org/r/20250822133340.312380-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/toshiba/tmpv7708.dtsi

index 39806f0ae51337cddacbba60eb98e241f58f7cf7..9aa7b1872bd69e09f1a9f249cbde928c480368f9 100644 (file)
                gic: interrupt-controller@24001000 {
                        compatible = "arm,gic-400";
                        interrupt-controller;
+                       #address-cells = <0>;
                        #interrupt-cells = <3>;
                        interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
                        reg = <0 0x24001000 0 0x1000>,