2018-10-02 09:07:47 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Vincent van der Locht
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <mem.h>
|
|
|
|
#include <atmel/sam4s.dtsi>
|
|
|
|
|
|
|
|
/ {
|
2020-04-09 21:18:27 +08:00
|
|
|
soc {
|
|
|
|
flash-controller@400e0a00 {
|
|
|
|
flash0: flash@400000 {
|
|
|
|
reg = <0x00400000 DT_SIZE_K(356)>;
|
2023-10-22 04:01:17 +08:00
|
|
|
erase-blocks = <&eefc 8 2048>, <&eefc 60 4096>;
|
2020-04-09 21:18:27 +08:00
|
|
|
};
|
|
|
|
};
|
2018-10-02 09:07:47 +08:00
|
|
|
|
2020-04-09 21:18:27 +08:00
|
|
|
sram0: memory@20100000 {
|
|
|
|
reg = <0x20100000 DT_SIZE_K(64)>;
|
|
|
|
};
|
2018-10-02 09:07:47 +08:00
|
|
|
};
|
|
|
|
};
|