Skip to content

Commit 2959750

Browse files
asmellbykartben
authored andcommitted
dts: arm: silabs: Fix clock and interrupt definitions for xg22
The WDOG and IADC clock node definitions were missing for xg22, and interrupt numbers were wrong for WDOG on xg27. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
1 parent 392fda0 commit 2959750

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

dts/arm/silabs/efr32bg22.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@
127127
interrupts = <61 2>;
128128
};
129129

130+
&adc0 {
131+
interrupts = <48 2>;
132+
clocks = <&cmu CLOCK_IADC0 CLOCK_BRANCH_IADCCLK>;
133+
};
134+
135+
&wdog0 {
136+
interrupts = <43 2>;
137+
clocks = <&cmu CLOCK_WDOG0 CLOCK_BRANCH_WDOG0CLK>;
138+
};
139+
130140
&radio {
131141
interrupts = <31 1>, <32 1>, <33 1>, <34 1>, <35 1>, <36 1>,
132142
<37 1>, <38 1>, <39 1>, <40 1>, <41 1>, <42 1>;

dts/arm/silabs/efr32bg27.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@
149149
interrupts = <26 0>;
150150
};
151151

152+
&wdog0 {
153+
interrupts = <49 2>;
154+
clocks = <&cmu CLOCK_WDOG0 CLOCK_BRANCH_WDOG0CLK>;
155+
};
156+
152157
&radio {
153158
interrupts = <36 1>, <37 1>, <38 1>, <39 1>, <40 1>, <41 1>,
154159
<42 1>, <43 1>, <44 1>, <45 1>, <46 1>, <47 1>;

dts/arm/silabs/efr32bg2x.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,14 +310,12 @@
310310
compatible = "silabs,gecko-wdog";
311311
reg = <0x4A018000 0x3028>;
312312
peripheral-id = <0>;
313-
interrupts = <43 2>;
314313
status = "disabled";
315314
};
316315

317316
adc0: adc@5a004000 {
318317
compatible = "silabs,gecko-iadc";
319318
reg = <0x5a004000 0x4000>;
320-
interrupts = <48 2>;
321319
status = "disabled";
322320
#io-channel-cells = <1>;
323321
};

0 commit comments

Comments
 (0)