mips: dts: loongson: fix DTC unit name warnings
authorzhaoxiao <zhaoxiao@uniontech.com>
Fri, 21 May 2021 09:40:24 +0000 (17:40 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 27 May 2021 11:37:13 +0000 (13:37 +0200)
Fixes the following W=1 kernel build warning(s):
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi:26.9-32.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

index 912dcad..0f995a7 100644 (file)
@@ -23,7 +23,7 @@
                };
        };
 
-       memory {
+       memory@200000 {
                compatible = "memory";
                device_type = "memory";
                reg = <0x00000000 0x00200000 0x00000000 0x0ee00000>, /* 238 MB at 2 MB */