Skip to content

Commit b4d1076

Browse files
oknshnozersa
authored andcommitted
dts: arm: adi: Add counter RTC instance to MAX32xxx
This commit instantiates counter RTC on MAX32xxx MCUs. Co-authored-by: Sadik Ozer <[email protected]> Signed-off-by: Okan Sahin <[email protected]>
1 parent fd96edc commit b4d1076

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

dts/arm/adi/max32/max32xxx.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,13 @@
294294
#pwm-cells = <3>;
295295
};
296296
};
297+
298+
rtc_counter: rtc_counter@40006000 {
299+
compatible = "adi,max32-rtc-counter";
300+
reg = <0x40006000 0x400>;
301+
interrupts = <3 0>;
302+
status = "disabled";
303+
};
297304
};
298305
};
299306

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2024 Analog Devices, Inc.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
description: ADI MAX32 compatible Counter RTC
6+
7+
compatible: "adi,max32-rtc-counter"
8+
9+
include: [base.yaml]

0 commit comments

Comments
 (0)