From a7df41412b602d3c2f5e6534532fb4f9d55e343f Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Mon, 19 May 2025 07:36:51 +0800 Subject: [PATCH] mediatek: filogic: fix memory node invalid length dtc warnings Correct the dts memory reg property to fix the following dtc warnings: ../dts/mt7986a-zyxel-ex5601-t0-stock.dts:19.3-33: Warning (reg_format): /memory@40000000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 2) ../dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts:19.3-33: Warning (reg_format): /memory@40000000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 2) Signed-off-by: Shiji Yang --- target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts | 2 +- target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts index e92d9dc6698..587a05e45ef 100644 --- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts +++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts @@ -16,7 +16,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x20000000>; + reg = <0 0x40000000 0 0x20000000>; }; }; diff --git a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts index a1f4a73f2f8..b32a3b56130 100644 --- a/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts +++ b/target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts @@ -16,7 +16,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x20000000>; + reg = <0 0x40000000 0 0x20000000>; }; chosen {