36883d2e68
This creates separate dtsi files for the various memory density codes of SAM X2xfamilies (they are the same where the specific size exists.) All of the boards with the exclusion of EV11L78A use the same density model of 18 (32KiB RAM and 256KiB flash) which is what the samd2x.dtsi include specified for all of them previously. The density code has been confirmed being the same across the D20/D21, C20/C21, L21, and R21 families. This does not carry over to some other series such as the E5x. Signed-off-by: Diego Elio Pettenò <flameeyes@meta.com>
16 lines
220 B
Plaintext
16 lines
220 B
Plaintext
/*
|
|
* Copyright (c) 2023, Meta Platforms, Inc. and its affiliates.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <mem.h>
|
|
|
|
&sram0 {
|
|
reg = <0x20000000 DT_SIZE_K(16)>;
|
|
};
|
|
|
|
&flash0 {
|
|
reg = <0 DT_SIZE_K(128)>;
|
|
};
|