File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed
tests/drivers/uart/uart_async_api/boards Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025, Silicon Laboratories Inc.
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /*
8+ * Need to connect PC0 and PC1 of the Expension Pin header
9+ */
10+ / {
11+ chosen {
12+ zephyr,console = &usart1;
13+ zephyr,shell-uart = &usart1;
14+ zephyr,uart-pipe = &usart1;
15+ };
16+ };
17+
18+ &pinctrl{
19+ usart0_default: usart0_default {
20+ group0 {
21+ pins = <USART0_TX_PC0>;
22+ drive-push-pull;
23+ output-high;
24+ };
25+ group1 {
26+ pins = <USART0_RX_PC1>;
27+ input-enable;
28+ silabs,input-filter;
29+ };
30+ };
31+ usart1_default: usart1_default {
32+ group0 {
33+ pins = <USART1_TX_PA5>;
34+ drive-push-pull;
35+ output-high;
36+ };
37+ group1 {
38+ pins = <USART1_RX_PA6>;
39+ input-enable;
40+ silabs,input-filter;
41+ };
42+ };
43+ };
44+
45+ dut: &usart0 {
46+ dmas = <&dma0 DMA_REQSEL_USART0TXBL>,
47+ <&dma0 DMA_REQSEL_USART0RXDATAV>;
48+ dma-names = "tx", "rx";
49+ pinctrl-0 = <&usart0_default>;
50+ pinctrl-names = "default";
51+ };
52+
53+ &usart1 {
54+ current-speed = <115200>;
55+ pinctrl-0 = <&usart1_default>;
56+ pinctrl-names = "default";
57+ status = "okay";
58+ };
59+
60+ &dma0 {
61+ status = "okay";
62+ };
You can’t perform that action at this time.
0 commit comments