ada5607ab7
This commit creates two new files in the device tree 1. stm32l412X8.dtsi 2. stm32l412XB.dtsi This will specifcally add stm32l412X8 to the device tree which was not supported before. Also the memory for stm32l412XB was not defined specifically before. Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
23 lines
333 B
Plaintext
23 lines
333 B
Plaintext
/*
|
|
* Copyright (c) 2021 Guðni Már Gilbert
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <mem.h>
|
|
#include <st/l4/stm32l412.dtsi>
|
|
|
|
/ {
|
|
sram0: memory@20000000 {
|
|
reg = <0x20000000 DT_SIZE_K(40)>;
|
|
};
|
|
|
|
soc {
|
|
flash-controller@40022000 {
|
|
flash0: flash@8000000 {
|
|
reg = <0x08000000 DT_SIZE_K(64)>;
|
|
};
|
|
};
|
|
};
|
|
};
|