Skip to content

Commit aed47c6

Browse files
thenguyenyfkartben
authored andcommitted
samples: counter: alarm: add support for Renesas RA devices
Add overlay to enable counter node for Renesas RA devices Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
1 parent 47f7fc9 commit aed47c6

File tree

5 files changed

+85
-0
lines changed

5 files changed

+85
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&agt0 {
8+
interrupts = <27 1>, <24 1>;
9+
interrupt-names = "agti", "agtcmai";
10+
renesas,count-source = "AGT_CLOCK_LOCO";
11+
renesas,prescaler = <4>;
12+
status = "okay";
13+
14+
counter0: counter {
15+
status = "okay";
16+
};
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&agt0 {
8+
interrupts = <94 1>, <95 1>;
9+
interrupt-names = "agti", "agtcmai";
10+
renesas,count-source = "AGT_CLOCK_LOCO";
11+
renesas,prescaler = <4>;
12+
status = "okay";
13+
14+
counter0: counter {
15+
status = "okay";
16+
};
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&agt0 {
8+
interrupts = <62 1>, <63 1>;
9+
interrupt-names = "agti", "agtcmai";
10+
renesas,count-source = "AGT_CLOCK_LOCO";
11+
renesas,prescaler = <4>;
12+
status = "okay";
13+
14+
counter0: counter {
15+
status = "okay";
16+
};
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&agt0 {
8+
interrupts = <94 1>, <95 1>;
9+
interrupt-names = "agti", "agtcmai";
10+
renesas,count-source = "AGT_CLOCK_LOCO";
11+
renesas,prescaler = <4>;
12+
status = "okay";
13+
14+
counter0: counter {
15+
status = "okay";
16+
};
17+
};
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) 2025 Renesas Electronics Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&agt0 {
8+
interrupts = <94 1>, <95 1>;
9+
interrupt-names = "agti", "agtcmai";
10+
renesas,count-source = "AGT_CLOCK_LOCO";
11+
renesas,prescaler = <4>;
12+
status = "okay";
13+
14+
counter0: counter {
15+
status = "okay";
16+
};
17+
};

0 commit comments

Comments
 (0)