Skip to content

Commit bf1e996

Browse files
khoa-nguyen-18henrikbrixandersen
authored andcommitted
tests: drivers: uart: Support test uart_async_api for Renesas RA8
Add overlay to support test uart_async_api for Renesas ek_ra8d1, mck_ra8t1 Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 4991eef commit bf1e996

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2024 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&pinctrl {
7+
sci2_default: sci2_default {
8+
group1 {
9+
/* tx */
10+
psels = <RA_PSEL(RA_PSEL_SCI_2, 10, 3)>;
11+
drive-strength = "medium";
12+
};
13+
group2 {
14+
/* rx */
15+
psels = <RA_PSEL(RA_PSEL_SCI_2, 10, 2)>;
16+
};
17+
};
18+
};
19+
20+
&sci2 {
21+
pinctrl-0 = <&sci2_default>;
22+
pinctrl-names = "default";
23+
status = "okay";
24+
dut: uart {
25+
current-speed = <115200>;
26+
status = "okay";
27+
};
28+
};
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2024 Renesas Electronics Corporation
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&pinctrl {
7+
sci4_default: sci4_default {
8+
group1 {
9+
/* tx */
10+
psels = <RA_PSEL(RA_PSEL_SCI_4, 7, 14)>;
11+
drive-strength = "medium";
12+
};
13+
group2 {
14+
/* rx */
15+
psels = <RA_PSEL(RA_PSEL_SCI_4, 7, 15)>;
16+
};
17+
};
18+
};
19+
20+
&sci4 {
21+
pinctrl-0 = <&sci4_default>;
22+
pinctrl-names = "default";
23+
status = "okay";
24+
dut: uart {
25+
current-speed = <115200>;
26+
status = "okay";
27+
};
28+
};

0 commit comments

Comments
 (0)