]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix memory node invalid length dtc warnings
authorShiji Yang <yangshiji66@outlook.com>
Sun, 18 May 2025 23:36:51 +0000 (07:36 +0800)
committerShiji Yang <yangshiji66@outlook.com>
Mon, 19 May 2025 12:01:00 +0000 (20:01 +0800)
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 <yangshiji66@outlook.com>
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-stock.dts
target/linux/mediatek/dts/mt7986a-zyxel-ex5601-t0-ubootmod.dts

index e92d9dc66987746a74f8a48fe3511d67be71aec9..587a05e45ef3674b429da60fee9ba2d6a4ded416 100644 (file)
@@ -16,7 +16,7 @@
 
        memory@40000000 {
                device_type = "memory";
-               reg = <0x40000000 0x20000000>;
+               reg = <0 0x40000000 0 0x20000000>;
        };
 };
 
index a1f4a73f2f88bb57d1dc3541d830711aa067484e..b32a3b56130f77bb3dffbb303057312f862ebe62 100644 (file)
@@ -16,7 +16,7 @@
 
        memory@40000000 {
                device_type = "memory";
-               reg = <0x40000000 0x20000000>;
+               reg = <0 0x40000000 0 0x20000000>;
        };
 
        chosen {