Skip to content

Commit 7888fa7

Browse files
asmellbyXH-YongbingLiu
authored andcommitted
soc: silabs: Add complete xg27 soc family
Add efr32bg27 and efr32mg27 socs. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent 6e4f082 commit 7888fa7

14 files changed

+314
-1
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32bg27.dtsi>
9+
10+
/ {
11+
soc {
12+
compatible = "silabs,efr32bg27c140f768im32", "silabs,efr32bg27", "silabs,xg27",
13+
"silabs,efr32", "simple-bus";
14+
};
15+
};
16+
17+
&flash0 {
18+
reg = <0x08000000 DT_SIZE_K(768)>;
19+
};
20+
21+
&sram0 {
22+
reg = <0x20000000 DT_SIZE_K(64)>;
23+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32bg27.dtsi>
9+
#include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
10+
11+
/ {
12+
soc {
13+
compatible = "silabs,efr32bg27c230f768im32", "silabs,efr32bg27", "silabs,xg27",
14+
"silabs,efr32", "simple-bus";
15+
};
16+
};
17+
18+
&dcdc {
19+
regulator-boot-on;
20+
regulator-init-microvolt = <1800000>;
21+
regulator-initial-mode = <SILABS_DCDC_MODE_BOOST>;
22+
status = "okay";
23+
};
24+
25+
&flash0 {
26+
reg = <0x08000000 DT_SIZE_K(768)>;
27+
};
28+
29+
&sram0 {
30+
reg = <0x20000000 DT_SIZE_K(64)>;
31+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32bg27.dtsi>
9+
#include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
10+
11+
/ {
12+
soc {
13+
compatible = "silabs,efr32bg27c230f768im40", "silabs,efr32bg27", "silabs,xg27",
14+
"silabs,efr32", "simple-bus";
15+
};
16+
};
17+
18+
&dcdc {
19+
regulator-boot-on;
20+
regulator-init-microvolt = <1800000>;
21+
regulator-initial-mode = <SILABS_DCDC_MODE_BOOST>;
22+
status = "okay";
23+
};
24+
25+
&flash0 {
26+
reg = <0x08000000 DT_SIZE_K(768)>;
27+
};
28+
29+
&sram0 {
30+
reg = <0x20000000 DT_SIZE_K(64)>;
31+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32bg27.dtsi>
9+
10+
/ {
11+
soc {
12+
compatible = "silabs,efr32bg27c320f768gj39", "silabs,efr32bg27", "silabs,xg27",
13+
"silabs,efr32", "simple-bus";
14+
};
15+
};
16+
17+
&flash0 {
18+
reg = <0x08000000 DT_SIZE_K(768)>;
19+
};
20+
21+
&sram0 {
22+
reg = <0x20000000 DT_SIZE_K(64)>;
23+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32bg27.dtsi>
9+
10+
/ {
11+
soc {
12+
compatible = "silabs,efr32bg27c320f768ij39", "silabs,efr32bg27", "silabs,xg27",
13+
"silabs,efr32", "simple-bus";
14+
};
15+
};
16+
17+
&flash0 {
18+
reg = <0x08000000 DT_SIZE_K(768)>;
19+
};
20+
21+
&sram0 {
22+
reg = <0x20000000 DT_SIZE_K(64)>;
23+
};

dts/arm/silabs/xg27/efr32mg27.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <silabs/xg27/efr32xg27.dtsi>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32mg27.dtsi>
9+
10+
/ {
11+
soc {
12+
compatible = "silabs,efr32mg27c140f768im32", "silabs,efr32mg27", "silabs,xg27",
13+
"silabs,efr32", "simple-bus";
14+
};
15+
};
16+
17+
&flash0 {
18+
reg = <0x08000000 DT_SIZE_K(768)>;
19+
};
20+
21+
&sram0 {
22+
reg = <0x20000000 DT_SIZE_K(64)>;
23+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32mg27.dtsi>
9+
10+
/ {
11+
soc {
12+
compatible = "silabs,efr32mg27c140f768im40", "silabs,efr32mg27", "silabs,xg27",
13+
"silabs,efr32", "simple-bus";
14+
};
15+
};
16+
17+
&flash0 {
18+
reg = <0x08000000 DT_SIZE_K(768)>;
19+
};
20+
21+
&sram0 {
22+
reg = <0x20000000 DT_SIZE_K(64)>;
23+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32mg27.dtsi>
9+
#include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
10+
11+
/ {
12+
soc {
13+
compatible = "silabs,efr32mg27c230f768im32", "silabs,efr32mg27", "silabs,xg27",
14+
"silabs,efr32", "simple-bus";
15+
};
16+
};
17+
18+
&dcdc {
19+
regulator-boot-on;
20+
regulator-init-microvolt = <1800000>;
21+
regulator-initial-mode = <SILABS_DCDC_MODE_BOOST>;
22+
status = "okay";
23+
};
24+
25+
&flash0 {
26+
reg = <0x08000000 DT_SIZE_K(768)>;
27+
};
28+
29+
&sram0 {
30+
reg = <0x20000000 DT_SIZE_K(64)>;
31+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <silabs/xg27/efr32mg27.dtsi>
9+
#include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
10+
11+
/ {
12+
soc {
13+
compatible = "silabs,efr32mg27c230f768im40", "silabs,efr32mg27", "silabs,xg27",
14+
"silabs,efr32", "simple-bus";
15+
};
16+
};
17+
18+
&dcdc {
19+
regulator-boot-on;
20+
regulator-init-microvolt = <1800000>;
21+
regulator-initial-mode = <SILABS_DCDC_MODE_BOOST>;
22+
status = "okay";
23+
};
24+
25+
&flash0 {
26+
reg = <0x08000000 DT_SIZE_K(768)>;
27+
};
28+
29+
&sram0 {
30+
reg = <0x20000000 DT_SIZE_K(64)>;
31+
};

0 commit comments

Comments
 (0)