Commit b2c62c39 authored by Dinh Nguyen's avatar Dinh Nguyen

arm64: dts: stratix10/agilex/n5x: fix dtbs_check warning for memory node

Although, we expect the bootloader to full memory details but passing empty
values can give warning, so add a default value.

memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0, 0, 0]]}
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 5dad11fa
......@@ -38,10 +38,10 @@ led-hps2 {
};
};
memory {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
ref_033v: regulator-v-ref {
......
......@@ -38,10 +38,10 @@ led-hps2 {
};
};
memory {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
ref_033v: regulator-v-ref {
......
......@@ -29,7 +29,7 @@ chosen {
linux,initrd-end = <0x125c8324>;
};
memory {
memory@80000000 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
......
......@@ -20,10 +20,10 @@ chosen {
stdout-path = "serial0:115200n8";
};
memory@0 {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
soc {
......
......@@ -37,10 +37,10 @@ led2 {
};
};
memory {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
};
......
......@@ -37,10 +37,10 @@ led2 {
};
};
memory {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
};
......
......@@ -19,10 +19,10 @@ chosen {
stdout-path = "serial0:115200n8";
};
memory {
memory@80000000 {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
reg = <0 0 0 0>;
reg = <0 0x80000000 0 0>;
};
soc {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment