Skip to content

Commit 8ab2f34

Browse files
asmellbykartben
authored andcommitted
dts: arm: silabs: Move efr32zg23 to xg23 directory
Introduce subdirectory for xg23 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
1 parent 9cea156 commit 8ab2f34

File tree

5 files changed

+36
-19
lines changed

5 files changed

+36
-19
lines changed

boards/silabs/radio_boards/xg23_rb4210a/xg23_rb4210a.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
/dts-v1/;
8-
#include <silabs/efr32zg23b020f512im48.dtsi>
8+
#include <silabs/xg23/efr32zg23b020f512im48.dtsi>
99
#include <zephyr/dt-bindings/input/input-event-codes.h>
1010
#include <zephyr/dt-bindings/regulator/silabs_dcdc.h>
1111
#include "xg23_rb4210a-pinctrl.dtsi"

dts/arm/silabs/xg23/efr32xg23.dtsi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <silabs/xg23/xg23.dtsi>
8+
9+
/ {
10+
soc {
11+
radio: radio@b0000000 {
12+
compatible = "silabs,series2-radio";
13+
reg = <0xb0000000 0x1000000>;
14+
interrupts = <31 1>, <32 1>, <33 1>, <34 1>, <35 1>, <36 1>,
15+
<37 1>, <38 1>, <39 1>, <40 1>, <74 1>, <75 1>;
16+
interrupt-names = "agc", "bufc", "frc_pri", "frc", "modem", "protimer",
17+
"rac_rsm", "rac_seq", "hostmailbox", "synth",
18+
"rfeca0", "rfeca1";
19+
pa-initial-power-dbm = <10>;
20+
pa-ramp-time-us = <10>;
21+
pa-voltage-mv = <3300>;
22+
pa-subghz = "highest";
23+
};
24+
};
25+
};

dts/arm/silabs/xg23/efr32zg23.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/xg23/efr32xg23.dtsi>

dts/arm/silabs/efr32zg23b020f512im48.dtsi renamed to dts/arm/silabs/xg23/efr32zg23b020f512im48.dtsi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
*/
66

77
#include <mem.h>
8-
#include <silabs/efr32xg23.dtsi>
8+
#include <silabs/xg23/efr32zg23.dtsi>
99

1010
/ {
1111
sram0: memory@20000000 {
1212
reg = <0x20000000 DT_SIZE_K(64)>;
1313
};
1414

1515
soc {
16-
compatible = "silabs,efr32zg23b020f512im48",
17-
"silabs,efr32zg23", "silabs,efr32",
18-
"simple-bus";
16+
compatible = "silabs,efr32zg23b020f512im48", "silabs,efr32zg23", "silabs,xg23",
17+
"silabs,efr32", "simple-bus";
1918
};
2019
};
2120

dts/arm/silabs/efr32xg23.dtsi renamed to dts/arm/silabs/xg23/xg23.dtsi

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -480,20 +480,6 @@
480480
clocks = <&cmu CLOCK_ACMP0 CLOCK_BRANCH_EM01GRPACLK>;
481481
status = "disabled";
482482
};
483-
484-
radio: radio@b0000000 {
485-
compatible = "silabs,series2-radio";
486-
reg = <0xb0000000 0x1000000>;
487-
interrupts = <31 1>, <32 1>, <33 1>, <34 1>, <35 1>, <36 1>,
488-
<37 1>, <38 1>, <39 1>, <40 1>, <74 1>, <75 1>;
489-
interrupt-names = "agc", "bufc", "frc_pri", "frc", "modem", "protimer",
490-
"rac_rsm", "rac_seq", "hostmailbox", "synth",
491-
"rfeca0", "rfeca1";
492-
pa-initial-power-dbm = <10>;
493-
pa-ramp-time-us = <10>;
494-
pa-voltage-mv = <3300>;
495-
pa-subghz = "highest";
496-
};
497483
};
498484

499485
hwinfo: hwinfo {

0 commit comments

Comments
 (0)