Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: amazon: alpine-v3: Add default GIC address cells

Add missing address-cells 0 to GIC interrupt node to silence W=1
warning:

alpine-v3.dtsi:342.4-349.33: Warning (interrupt_map): /soc/pcie@fbd00000:interrupt-map:
Missing property '#address-cells' in node /soc/interrupt-controller@f0800000, 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-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

+1
+1
arch/arm64/boot/dts/amazon/alpine-v3.dtsi
··· 320 320 321 321 gic: interrupt-controller@f0800000 { 322 322 compatible = "arm,gic-v3"; 323 + #address-cells = <0>; 323 324 #interrupt-cells = <3>; 324 325 interrupt-controller; 325 326 reg = <0x0 0xf0800000 0 0x10000>, /* GICD */