Skip to content

Commit 09991d5

Browse files
ttmutkartben
authored andcommitted
tests: drivers: uart: uart_async_api: Enable MAX32 boards
Support following boards in asynchronous UART tests: - MAX32655EVKIT - MAX32655FTHR - MAX32666EVKIT - MAX32666FTHR - MAX32670EVKIT - MAX32690EVKIT Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
1 parent 2d59b75 commit 09991d5

File tree

6 files changed

+108
-0
lines changed

6 files changed

+108
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart3 {
8+
status = "okay";
9+
pinctrl-0 = <&lpuartb_tx_p2_7 &lpuartb_rx_p2_6>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART3_TX>, <&dma0 2 MAX32_DMA_SLOT_UART3_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart3 {
8+
status = "okay";
9+
pinctrl-0 = <&lpuartb_tx_p2_7 &lpuartb_rx_p2_6>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART3_TX>, <&dma0 2 MAX32_DMA_SLOT_UART3_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart0 {
8+
status = "okay";
9+
pinctrl-0 = <&uart0_tx_p0_9 &uart0_rx_p0_10>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART0_TX>, <&dma0 2 MAX32_DMA_SLOT_UART0_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart0 {
8+
status = "okay";
9+
pinctrl-0 = <&uart0_tx_p0_9 &uart0_rx_p0_10>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART0_TX>, <&dma0 2 MAX32_DMA_SLOT_UART0_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart1 {
8+
status = "okay";
9+
pinctrl-0 = <&uart1a_tx_p0_29 &uart1a_rx_p0_28>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART1_TX>, <&dma0 2 MAX32_DMA_SLOT_UART1_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2024 Analog Devices, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
dut: &uart0 {
8+
status = "okay";
9+
pinctrl-0 = <&uart0a_tx_p2_12 &uart0a_rx_p2_11>;
10+
pinctrl-names = "default";
11+
12+
dmas = <&dma0 1 MAX32_DMA_SLOT_UART0_TX>, <&dma0 2 MAX32_DMA_SLOT_UART0_RX>;
13+
dma-names = "tx", "rx";
14+
15+
current-speed = <115200>;
16+
data-bits = <8>;
17+
parity = "none";
18+
};

0 commit comments

Comments
 (0)