[openwrt/openwrt] mvebu: fix usb node dtc warnings for Ctera C200 V2

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 19 12:56:52 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a06c79212a06f70cf36c5dbbade769ba70a2d588

commit a06c79212a06f70cf36c5dbbade769ba70a2d588
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 21:56:58 2025 +0800

    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 at 82000000/pcie at 1,0/bridge at 0,1/usb at 1,0/port at 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 at 82000000/pcie at 1,0/bridge at 0,1/usb at 1,0/port at 2:reg: property has invalid length (4 bytes) (#address-cells == 3, #size-cells == 2)
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/18242
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/mvebu/patches-6.12/325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch b/target/linux/mvebu/patches-6.12/325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch
index eaa206255d..0fd602726f 100644
--- a/target/linux/mvebu/patches-6.12/325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch
+++ b/target/linux/mvebu/patches-6.12/325-arm-dts-marvell-add-LED-aliases-and-USB-ports-to-Cte.patch
@@ -102,8 +102,8 @@ Signed-off-by: Stefan Kalscheuer <stefan at stklcode.de>
 +				/* Renesas uPD720202 */
 +				compatible = "pci1912,0015";
 +				reg = <0x1000 0 0 0 0>;
-+				#address-cells = <3>;
-+				#size-cells = <2>;
++				#address-cells = <1>;
++				#size-cells = <0>;
 +
 +				usb1_port: port at 1 {
 +					reg = <1>;




More information about the lede-commits mailing list