Skip to content

Commit d3c1f27

Browse files
asmellbykartben
authored andcommitted
dts: arm: silabs: Move efr32mg21 to xg21 directory
Introduce subdirectory for xg21 socs. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
1 parent 5f9f295 commit d3c1f27

File tree

6 files changed

+34
-16
lines changed

6 files changed

+34
-16
lines changed

boards/silabs/radio_boards/slwrb4180a/slwrb4180a.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/efr32mg21a020f1024im32.dtsi>
8+
#include <silabs/xg21/efr32mg21a020f1024im32.dtsi>
99
#include <zephyr/dt-bindings/input/input-event-codes.h>
1010
#include "slwrb4180a-pinctrl.dtsi"
1111

boards/silabs/radio_boards/slwrb4180b/slwrb4180b.dts

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

88
/dts-v1/;
9-
#include <silabs/efr32mg21a020f1024im32.dtsi>
9+
#include <silabs/xg21/efr32mg21a020f1024im32.dtsi>
1010
#include <zephyr/dt-bindings/input/input-event-codes.h>
1111
#include "slwrb4180b-pinctrl.dtsi"
1212

dts/arm/silabs/xg21/efr32mg21.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/xg21/efr32xg21.dtsi>

dts/arm/silabs/efr32mg21a020f1024im32.dtsi renamed to dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi

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

77
#include <mem.h>
8-
#include <silabs/efr32mg21.dtsi>
8+
#include <silabs/xg21/efr32mg21.dtsi>
99

1010
/ {
1111
sram0: memory@20000000 {

dts/arm/silabs/xg21/efr32xg21.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <silabs/xg21/xg21.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>;
16+
interrupt-names = "agc", "bufc", "frc_pri", "frc", "modem", "protimer",
17+
"rac_rsm", "rac_seq", "prortc", "synth";
18+
pa-initial-power-dbm = <10>;
19+
pa-ramp-time-us = <10>;
20+
pa-voltage-mv = <3300>;
21+
pa-2p4ghz = "highest";
22+
};
23+
};
24+
};

dts/arm/silabs/efr32mg21.dtsi renamed to dts/arm/silabs/xg21/xg21.dtsi

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -367,19 +367,6 @@
367367
clocks = <&cmu CLOCK_AUTO CLOCK_BRANCH_EM01GRPACLK>;
368368
status = "disabled";
369369
};
370-
371-
radio: radio@b0000000 {
372-
compatible = "silabs,series2-radio";
373-
reg = <0xb0000000 0x1000000>;
374-
interrupts = <31 1>, <32 1>, <33 1>, <34 1>, <35 1>, <36 1>,
375-
<37 1>, <38 1>, <39 1>, <40 1>;
376-
interrupt-names = "agc", "bufc", "frc_pri", "frc", "modem", "protimer",
377-
"rac_rsm", "rac_seq", "prortc", "synth";
378-
pa-initial-power-dbm = <10>;
379-
pa-ramp-time-us = <10>;
380-
pa-voltage-mv = <3300>;
381-
pa-2p4ghz = "highest";
382-
};
383370
};
384371
};
385372

0 commit comments

Comments
 (0)