zephyr/tests/drivers/uart/uart_async_api/boards/esp32c6_devkitc.overlay
Raffael Rostagno fbd651e799 boards: esp32c6_devkitc: Test files for DMA and UART async, doc update
Test files for DMA and UART async. esp32c6_devkitc doc update

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2024-08-02 18:48:37 -05:00

32 lines
592 B
Plaintext

/*
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
uart1_test: uart1_test {
group1 {
pinmux = <UART1_TX_GPIO2>;
input-enable; /* Connect GPIO2 and GPIO3 externally for testing */
};
group2 {
pinmux = <UART1_RX_GPIO3>;
output-enable; /* Connect GPIO2 and GPIO3 externally for testing */
};
};
};
dut: &uart1 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart1_test>;
pinctrl-names = "default";
dmas = <&dma 0>, <&dma 1>;
dma-names = "rx", "tx";
};
&dma {
status = "okay";
};