Commit 04f1c432 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Nishanth Menon
Browse files

arm64: dts: ti: k3-j721s2: Add default PCI interrupt controller address cells



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

  k3-j721s2-main.dtsi:1431.3-1434.29: Warning (interrupt_map): /bus@100000/pcie@2910000:interrupt-map:
    Missing property '#address-cells' in node /bus@100000/pcie@2910000/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)

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250822133309.312189-2-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 44189ccd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1437,6 +1437,7 @@ pcie1_rc: pcie@2910000 {

		pcie1_intc: interrupt-controller {
			interrupt-controller;
			#address-cells = <0>;
			#interrupt-cells = <1>;
			interrupt-parent = <&gic500>;
			interrupts = <GIC_SPI 324 IRQ_TYPE_EDGE_RISING>;