Skip to content

Commit 693fafa

Browse files
khoatranyjduynguyenxa
authored andcommitted
tests: drivers: rtc: Add tests support for RTC driver on Renesas RA
Add tests support for RTC driver on these Renesas RA boards: - ek_ra8m1 - ek_ra8d1 - ek_ra8p1 - ek_ra4l1 Signed-off-by: Khoa Tran <[email protected]>
1 parent 973511a commit 693fafa

File tree

8 files changed

+88
-0
lines changed

8 files changed

+88
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_RTC_ALARM=y
5+
CONFIG_RTC_UPDATE=y
6+
CONFIG_TEST_RTC_ALARM_TIME_MASK=63
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
rtc = &rtc;
9+
};
10+
};
11+
12+
&rtc {
13+
interrupts = <61 1>, <62 1>, <63 1>;
14+
interrupt-names = "alm", "prd", "cup";
15+
status = "okay";
16+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_RTC_ALARM=y
5+
CONFIG_RTC_UPDATE=y
6+
CONFIG_TEST_RTC_ALARM_TIME_MASK=63
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
rtc = &rtc;
9+
};
10+
};
11+
12+
&rtc {
13+
interrupts = <95 1>, <94 1>, <93 1>;
14+
interrupt-names = "alm", "prd", "cup";
15+
status = "okay";
16+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_RTC_ALARM=y
5+
CONFIG_RTC_UPDATE=y
6+
CONFIG_TEST_RTC_ALARM_TIME_MASK=63
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
rtc = &rtc;
9+
};
10+
};
11+
12+
&rtc {
13+
interrupts = <95 1>, <94 1>, <93 1>;
14+
interrupt-names = "alm", "prd", "cup";
15+
status = "okay";
16+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Renesas Electronics Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
CONFIG_RTC_ALARM=y
5+
CONFIG_RTC_UPDATE=y
6+
CONFIG_TEST_RTC_ALARM_TIME_MASK=63
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
aliases {
8+
rtc = &rtc;
9+
};
10+
};
11+
12+
&rtc {
13+
interrupts = <95 1>, <94 1>, <93 1>;
14+
interrupt-names = "alm", "prd", "cup";
15+
status = "okay";
16+
};

0 commit comments

Comments
 (0)