dts: arm: st: l4: Split l412 into two memory groups

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>
This commit is contained in:
Guðni Már Gilbert 2021-03-24 12:20:09 +00:00 committed by Anas Nashif
parent bed1dc26f1
commit ada5607ab7
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/*
* 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)>;
};
};
};
};

View file

@ -0,0 +1,22 @@
/*
* 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(128)>;
};
};
};
};