dts: atmel_sam0: fix location of flash and sram blocks

The blocks were moved into the soc block in samd5x.dtsi,
so we also have to move them for the the actual SoC definitions
that inherit from that.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
Benjamin Valentin 2019-11-07 14:37:36 +01:00 committed by Kumar Gala
commit edb8df102f
3 changed files with 21 additions and 15 deletions

View file

@ -8,11 +8,13 @@
#include <atmel/samd5x.dtsi>
/ {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(256)>;
};
soc {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(256)>;
};
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(128)>;
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(128)>;
};
};
};

View file

@ -8,11 +8,13 @@
#include <atmel/samd5x.dtsi>
/ {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(512)>;
};
soc {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(512)>;
};
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(192)>;
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(192)>;
};
};
};

View file

@ -8,11 +8,13 @@
#include <atmel/samd5x.dtsi>
/ {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(1024)>;
};
soc {
flash0: flash@0 {
reg = <0x0 DT_SIZE_K(1024)>;
};
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(256)>;
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(256)>;
};
};
};