Test files for DMA and UART async. esp32c6_devkitc doc update Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
32 lines
592 B
Plaintext
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";
|
|
};
|