Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: hisilicon: fix errors detected by root-node.yaml

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>

authored by

Zhen Lei and committed by
Wei Xu
e0b09c35 8e9e8dd7

+4 -4
+1 -1
arch/arm/boot/dts/hi3519-demb.dts
··· 14 14 serial0 = &uart0; 15 15 }; 16 16 17 - memory { 17 + memory@80000000 { 18 18 device_type = "memory"; 19 19 reg = <0x80000000 0x40000000>; 20 20 };
+1 -1
arch/arm/boot/dts/hi3620-hi4511.dts
··· 17 17 stdout-path = "serial0:115200n8"; 18 18 }; 19 19 20 - memory { 20 + memory@40000000 { 21 21 device_type = "memory"; 22 22 reg = <0x40000000 0x20000000>; 23 23 };
+1 -1
arch/arm/boot/dts/hip01-ca9x2.dts
··· 37 37 }; 38 38 }; 39 39 40 - memory { 40 + memory@80000000 { 41 41 device_type = "memory"; 42 42 reg = <0x80000000 0x80000000>; 43 43 };
+1 -1
arch/arm/boot/dts/hisi-x5hd2-dkb.dts
··· 35 35 }; 36 36 }; 37 37 38 - memory { 38 + memory@0 { 39 39 device_type = "memory"; 40 40 reg = <0x00000000 0x80000000>; 41 41 };