mvebu: fix usb node dtc warnings for Ctera C200 V2
authorShiji Yang <[email protected]>
Mon, 19 May 2025 13:56:58 +0000 (21:56 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 19 Oct 2025 19:55:34 +0000 (21:55 +0200)
commita06c79212a06f70cf36c5dbbade769ba70a2d588
tree1490004f546143e908f793b79a3750af7069e00f
parent9fa076aa3336f884e9cc65384cfa28503c96c601
mvebu: fix usb node dtc warnings for Ctera C200 V2

Correct #address-cells and #size-cells based on child node reg
property structure to fix the following dtc warnings:

armada-370-c200-v2.dts:342.6-16: Warning (reg_format): /soc/pcie@82000000/pcie@1,0/bridge@0,1/usb@1,0/port@1:reg: property has invalid length (4 bytes) (#address-cells == 3, #size-cells == 2)
armada-370-c200-v2.dts:347.6-16: Warning (reg_format): /soc/pcie@82000000/pcie@1,0/bridge@0,1/usb@1,0/port@2:reg: property has invalid length (4 bytes) (#address-cells == 3, #size-cells == 2)

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mvebu/patches-6.12/325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch