tests: drivers: uart: Add support uart_async_api for RA2
Add support uart_async_api for Renesas ek_ra2l1, ek_ra2a1 Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
parent
e270fd4689
commit
47655aa236
25
tests/drivers/uart/uart_async_api/boards/ek_ra2a1.overlay
Normal file
25
tests/drivers/uart/uart_async_api/boards/ek_ra2a1.overlay
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&pinctrl {
|
||||
sci1_default: sci1_default {
|
||||
group1 {
|
||||
/* tx rx */
|
||||
psels = <RA_PSEL(RA_PSEL_SCI_1, 4, 10)>,
|
||||
<RA_PSEL(RA_PSEL_SCI_1, 4, 11)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sci1 {
|
||||
pinctrl-0 = <&sci1_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
|
||||
dut: uart {
|
||||
current-speed = <115200>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
27
tests/drivers/uart/uart_async_api/boards/ek_ra2l1.overlay
Normal file
27
tests/drivers/uart/uart_async_api/boards/ek_ra2l1.overlay
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2025 Renesas Electronics Corporation
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&pinctrl {
|
||||
sci9_default: sci9_default {
|
||||
group1 {
|
||||
/* tx rx */
|
||||
psels = <RA_PSEL(RA_PSEL_SCI_9, 2, 3)>,
|
||||
<RA_PSEL(RA_PSEL_SCI_9, 2, 2)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&sci9 {
|
||||
pinctrl-0 = <&sci9_default>;
|
||||
pinctrl-names = "default";
|
||||
interrupts = <28 1>, <29 1>, <30 1>, <31 1>;
|
||||
interrupt-names = "rxi", "txi", "tei", "eri";
|
||||
status = "okay";
|
||||
|
||||
dut: uart {
|
||||
current-speed = <115200>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user