]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: r9a06g032: Add #address-cells to the GIC node
authorHerve Codina (Schneider Electric) <herve.codina@bootlin.com>
Wed, 25 Mar 2026 09:57:18 +0000 (10:57 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 25 Mar 2026 17:40:50 +0000 (18:40 +0100)
When checking dts involving the r9a06g032.dtsi file, the following kind
of warnings are reported:
   Missing property '#address-cells' in node xxx, using 0 as fallback

Indeed, #address-cells is not present in the GIC interrupt controller
node.

Fix it adding the missing property.

Value '0' is correct because:
1. GIC interrupt controller does not have children,
2. interrupt-map property in PCI node and in IRQ mux node consists of
   several components and the component related to "parent unit
   address", which size is defined by '#address-cells' of the node
   pointed to by the interrupt-parent component, is not used (=0)

No functional change.

Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260325095718.388157-1-herve.codina@bootlin.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/renesas/r9a06g032.dtsi

index daa7d5de575dec77cf92f3b5038196a1960db63f..442ea26b40f538d919c90a2c7a2d51ece4596bc0 100644 (file)
                        compatible = "arm,gic-400", "arm,cortex-a7-gic";
                        interrupt-controller;
                        #interrupt-cells = <3>;
+                       #address-cells = <0>;
                        reg = <0x44101000 0x1000>, /* Distributer */
                              <0x44102000 0x2000>, /* CPU interface */
                              <0x44104000 0x2000>, /* Virt interface control */