ARM: dts: hisilicon: fix errors detected by root-node.yaml
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 12 Oct 2020 06:12:20 +0000 (14:12 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 24 Nov 2020 11:43:18 +0000 (19:43 +0800)
Make the memory node name match the regex "^memory(@[0-9a-f]+)?$" which
is described in memory.yaml. Otherwise, it will be treated as root node,
and misreported by root-node.yaml.

Errors misreported by root-node.yaml:
/: memory: False schema does not allow {'device_type': ['memory'], 'reg':

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/boot/dts/hi3519-demb.dts
arch/arm/boot/dts/hi3620-hi4511.dts
arch/arm/boot/dts/hip01-ca9x2.dts
arch/arm/boot/dts/hisi-x5hd2-dkb.dts

index 64f8ed1269310993a0286d7f34d7cfd3cee9a2bf..f473fa22e9ce56a81ba72dd1cb2b4187e8fdaeda 100644 (file)
@@ -14,7 +14,7 @@
                serial0 = &uart0;
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x40000000>;
        };
index 29eedc7fef9861e7795f1c9bf1944f7d1dafa37d..ce356c469e1e13e794ee0aff510080ed52135cd8 100644 (file)
@@ -17,7 +17,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@40000000 {
                device_type = "memory";
                reg = <0x40000000 0x20000000>;
        };
index f05e74eacfe0bf2d9693db4f8377e4a3084d5e4e..031476304d9461408ee5fbc4b7c2277d596f6874 100644 (file)
@@ -37,7 +37,7 @@
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x80000000 0x80000000>;
        };
index d55e9cd3b12b42068486f67c4bef087e4ffec7e6..22b122d3f514e4373bdb44534c3e64159a9c67a0 100644 (file)
@@ -35,7 +35,7 @@
                };
        };
 
-       memory {
+       memory@0 {
                device_type = "memory";
                reg = <0x00000000 0x80000000>;
        };