2019-10-25 07:42:29 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Gerson Fernando Budke
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <mem.h>
|
|
|
|
#include <atmel/sam4e.dtsi>
|
|
|
|
|
|
|
|
/ {
|
2020-04-09 21:18:27 +08:00
|
|
|
soc {
|
|
|
|
flash-controller@400e0a00 {
|
|
|
|
flash0: flash@400000 {
|
|
|
|
reg = <0x00400000 DT_SIZE_K(1024)>;
|
2023-10-22 04:01:17 +08:00
|
|
|
erase-blocks = <&eefc 8 2048>, <&eefc 252 4096>;
|
2020-04-09 21:18:27 +08:00
|
|
|
};
|
|
|
|
};
|
2019-10-25 07:42:29 +08:00
|
|
|
|
2020-04-09 21:18:27 +08:00
|
|
|
sram0: memory@20000000 {
|
|
|
|
reg = <0x20000000 DT_SIZE_K(128)>;
|
|
|
|
};
|
2019-10-25 07:42:29 +08:00
|
|
|
};
|
|
|
|
};
|