Skip to content

Commit 5067e54

Browse files
nandojvecarlescufi
authored andcommitted
dts: st: Add all missing l010 SoCs
Add minimal devicetree entries to enable the whole stm32l010 SoC family. Signed-off-by: Gerson Fernando Budke <[email protected]>
1 parent 88c9d1f commit 5067e54

File tree

3 files changed

+78
-0
lines changed

3 files changed

+78
-0
lines changed

dts/arm/st/l0/stm32l010X4.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2023 OS Systems
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/l0/stm32l010.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(2)>;
13+
};
14+
15+
soc {
16+
eeprom: eeprom@8080000{
17+
reg = <0x08080000 128>;
18+
};
19+
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(16)>;
23+
};
24+
};
25+
};
26+
};

dts/arm/st/l0/stm32l010X6.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2023 OS Systems
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/l0/stm32l010.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(8)>;
13+
};
14+
15+
soc {
16+
eeprom: eeprom@8080000{
17+
reg = <0x08080000 256>;
18+
};
19+
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(32)>;
23+
};
24+
};
25+
};
26+
};

dts/arm/st/l0/stm32l010X8.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2023 OS Systems
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/l0/stm32l010.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(8)>;
13+
};
14+
15+
soc {
16+
eeprom: eeprom@8080000{
17+
reg = <0x08080000 256>;
18+
};
19+
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(64)>;
23+
};
24+
};
25+
};
26+
};

0 commit comments

Comments
 (0)