Skip to content

Commit 814a9e6

Browse files
ttmutcfriedt
authored andcommitted
dts: adi: Add wut nodes to MAX32 SoCs that have wake-up timers
Add WUT support to MAX32655, MAX32666, MAX32680, MAX32690 and MAX78002 SoCs. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent a5ea4c2 commit 814a9e6

File tree

5 files changed

+76
-4
lines changed

5 files changed

+76
-4
lines changed

dts/arm/adi/max32/max32655.dtsi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023-2024 Analog Devices, Inc.
2+
* Copyright (c) 2023-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -149,5 +149,17 @@
149149
interrupts = <67 0>;
150150
status = "disabled";
151151
};
152+
153+
wut0: timer@40006400 {
154+
compatible = "adi,max32-timer";
155+
reg = <0x40006400 0x400>;
156+
interrupts = <53 0>;
157+
status = "disabled";
158+
prescaler = <1>;
159+
counter {
160+
compatible = "adi,max32-wut";
161+
status = "disabled";
162+
};
163+
};
152164
};
153165
};

dts/arm/adi/max32/max32666.dtsi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023-2024 Analog Devices, Inc.
2+
* Copyright (c) 2023-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -188,5 +188,17 @@
188188
power-delay-ms = <1500>;
189189
clocks = <&gcr ADI_MAX32_CLOCK_BUS1 10>;
190190
};
191+
192+
wut0: timer@40006400 {
193+
compatible = "adi,max32-timer";
194+
reg = <0x40006400 0x400>;
195+
interrupts = <53 0>;
196+
status = "disabled";
197+
prescaler = <1>;
198+
counter {
199+
compatible = "adi,max32-wut";
200+
status = "disabled";
201+
};
202+
};
191203
};
192204
};

dts/arm/adi/max32/max32680.dtsi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 Analog Devices, Inc.
2+
* Copyright (c) 2024-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -131,5 +131,17 @@
131131
interrupts = <67 0>;
132132
status = "disabled";
133133
};
134+
135+
wut0: timer@40006400 {
136+
compatible = "adi,max32-timer";
137+
reg = <0x40006400 0x400>;
138+
interrupts = <53 0>;
139+
status = "disabled";
140+
prescaler = <1>;
141+
counter {
142+
compatible = "adi,max32-wut";
143+
status = "disabled";
144+
};
145+
};
134146
};
135147
};

dts/arm/adi/max32/max32690.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,5 +282,29 @@
282282
interrupts = <108 0>;
283283
clocks = <&gcr ADI_MAX32_CLOCK_BUS1 19>;
284284
};
285+
286+
wut0: timer@40006400 {
287+
compatible = "adi,max32-timer";
288+
reg = <0x40006400 0x200>;
289+
interrupts = <53 0>;
290+
status = "disabled";
291+
prescaler = <1>;
292+
counter {
293+
compatible = "adi,max32-wut";
294+
status = "disabled";
295+
};
296+
};
297+
298+
wut1: timer@40006600 {
299+
compatible = "adi,max32-timer";
300+
reg = <0x40006600 0x200>;
301+
interrupts = <109 0>;
302+
status = "disabled";
303+
prescaler = <1>;
304+
counter {
305+
compatible = "adi,max32-wut";
306+
status = "disabled";
307+
};
308+
};
285309
};
286310
};

dts/arm/adi/max32/max78002.dtsi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2024 Analog Devices, Inc.
2+
* Copyright (c) 2024-2025 Analog Devices, Inc.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -207,5 +207,17 @@
207207
interrupts = <67 0>;
208208
status = "disabled";
209209
};
210+
211+
wut0: timer@40006400 {
212+
compatible = "adi,max32-timer";
213+
reg = <0x40006400 0x400>;
214+
interrupts = <53 0>;
215+
status = "disabled";
216+
prescaler = <1>;
217+
counter {
218+
compatible = "adi,max32-wut";
219+
status = "disabled";
220+
};
221+
};
210222
};
211223
};

0 commit comments

Comments
 (0)