Skip to content

Commit 1f9f335

Browse files
Terezventcarlescufi
authored andcommitted
soc: silabs: add configuration for silabs soc EFR32MG24B020F1536IM40
Added configurations and dts for soc part number EFR32MG24B020F1536IM40 Signed-off-by: Teresa Zepeda Ventura <[email protected]>
1 parent d4a29be commit 1f9f335

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2019 Steven Lemaire
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/efr32mg24.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(256)>;
13+
};
14+
15+
soc {
16+
compatible = "silabs,efr32mg24b020f1536im40",
17+
"silabs,efr32mg24", "silabs,efr32",
18+
"simple-bus";
19+
20+
flash-controller@50030000 {
21+
flash0: flash@0 {
22+
reg = <0 DT_SIZE_K(1536)>;
23+
};
24+
};
25+
};
26+
};

soc/silabs/silabs_s2/efr32mg24/Kconfig.soc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ config SOC_SERIES_EFR32MG24
99
help
1010
EFR32MG24 Series MCU
1111

12+
config SOC_PART_NUMBER_EFR32MG24B020F1536IM40
13+
bool
14+
select SOC_SERIES_EFR32MG24
15+
1216
config SOC_PART_NUMBER_EFR32MG24B220F1536IM48
1317
bool
1418
select SOC_SERIES_EFR32MG24
@@ -23,7 +27,9 @@ config SOC_SERIES
2327
config SOC
2428
default "efr32mg24b220f1536im48" if SOC_PART_NUMBER_EFR32MG24B220F1536IM48
2529
default "efr32mg24b310f1536im48" if SOC_PART_NUMBER_EFR32MG24B310F1536IM48
30+
default "efr32mg24b020f1536im40" if SOC_PART_NUMBER_EFR32MG24B020F1536IM40
2631

2732
config SOC_PART_NUMBER
2833
default "EFR32MG24B220F1536IM48" if SOC_PART_NUMBER_EFR32MG24B220F1536IM48
2934
default "EFR32MG24B310F1536IM48" if SOC_PART_NUMBER_EFR32MG24B310F1536IM48
35+
default "EFR32MG24B020F1536IM40" if SOC_PART_NUMBER_EFR32MG24B020F1536IM40

soc/silabs/soc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ family:
5151
socs:
5252
- name: efr32mg24b220f1536im48
5353
- name: efr32mg24b310f1536im48
54+
- name: efr32mg24b020f1536im40
5455
- name: efr32bg27
5556
socs:
5657
- name: efr32bg27c140f768im40

0 commit comments

Comments
 (0)