Skip to content

Commit b2c62c3

Browse files
author
Dinh Nguyen
committed
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: Dinh Nguyen <dinguyen@kernel.org>
1 parent 5dad11f commit b2c62c3

7 files changed

+13
-13
lines changed

arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
};
3939
};
4040

41-
memory {
41+
memory@80000000 {
4242
device_type = "memory";
4343
/* We expect the bootloader to fill in the reg */
44-
reg = <0 0 0 0>;
44+
reg = <0 0x80000000 0 0>;
4545
};
4646

4747
ref_033v: regulator-v-ref {

arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
};
3939
};
4040

41-
memory {
41+
memory@80000000 {
4242
device_type = "memory";
4343
/* We expect the bootloader to fill in the reg */
44-
reg = <0 0 0 0>;
44+
reg = <0 0x80000000 0 0>;
4545
};
4646

4747
ref_033v: regulator-v-ref {

arch/arm64/boot/dts/altera/socfpga_stratix10_swvp.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
linux,initrd-end = <0x125c8324>;
3030
};
3131

32-
memory {
32+
memory@80000000 {
3333
device_type = "memory";
3434
reg = <0x0 0x0 0x0 0x80000000>;
3535
};

arch/arm64/boot/dts/intel/socfpga_agilex_n6000.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
stdout-path = "serial0:115200n8";
2121
};
2222

23-
memory@0 {
23+
memory@80000000 {
2424
device_type = "memory";
2525
/* We expect the bootloader to fill in the reg */
26-
reg = <0 0 0 0>;
26+
reg = <0 0x80000000 0 0>;
2727
};
2828

2929
soc {

arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
};
3838
};
3939

40-
memory {
40+
memory@80000000 {
4141
device_type = "memory";
4242
/* We expect the bootloader to fill in the reg */
43-
reg = <0 0 0 0>;
43+
reg = <0 0x80000000 0 0>;
4444
};
4545
};
4646

arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
};
3838
};
3939

40-
memory {
40+
memory@80000000 {
4141
device_type = "memory";
4242
/* We expect the bootloader to fill in the reg */
43-
reg = <0 0 0 0>;
43+
reg = <0 0x80000000 0 0>;
4444
};
4545
};
4646

arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
stdout-path = "serial0:115200n8";
2020
};
2121

22-
memory {
22+
memory@80000000 {
2323
device_type = "memory";
2424
/* We expect the bootloader to fill in the reg */
25-
reg = <0 0 0 0>;
25+
reg = <0 0x80000000 0 0>;
2626
};
2727

2828
soc {

0 commit comments

Comments
 (0)