Skip to content

Commit 7d5580d

Browse files
asmellbykartben
authored andcommitted
dts: arm: silabs: xg21: Reformat dtsi files
Reformat devicetree files: * Sort nodes by unit address or name * Sort properties by category and name Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent a1a47e2 commit 7d5580d

File tree

3 files changed

+242
-227
lines changed

3 files changed

+242
-227
lines changed

dts/arm/silabs/xg21/efr32mg21a020f1024im32.dtsi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2019 Steven Lemaire
3+
* Copyright (c) 2025 Silicon Laboratories Inc.
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -9,12 +10,13 @@
910

1011
/ {
1112
soc {
12-
compatible = "silabs,efr32mg21a020f1024im32", "silabs,efr32mg21", "silabs,efr32", "simple-bus";
13+
compatible = "silabs,efr32mg21a020f1024im32", "silabs,efr32mg21", "silabs,xg21",
14+
"silabs,efr32", "simple-bus";
1315
};
1416
};
1517

1618
&flash0 {
17-
reg = <0 DT_SIZE_K(1024)>;
19+
reg = <0x00000000 DT_SIZE_K(1024)>;
1820
};
1921

2022
&sram0 {

dts/arm/silabs/xg21/efr32xg21.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
soc {
1111
radio: radio@b0000000 {
1212
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>;
13+
reg = <0xb0000000 0x01000000>;
1614
interrupt-names = "agc", "bufc", "frc_pri", "frc", "modem", "protimer",
1715
"rac_rsm", "rac_seq", "prortc", "synth";
16+
interrupts = <31 1>, <32 1>, <33 1>, <34 1>, <35 1>, <36 1>, <37 1>,
17+
<38 1>, <39 1>, <40 1>;
18+
pa-2p4ghz = "highest";
1819
pa-initial-power-dbm = <10>;
1920
pa-ramp-time-us = <10>;
2021
pa-voltage-mv = <3300>;
21-
pa-2p4ghz = "highest";
2222

2323
pti: pti {
2424
compatible = "silabs,pti";

0 commit comments

Comments
 (0)