tests: drivers: uart: add esp32s3_luatos_core

add overlay and conf for esp32s3_luatos_core board

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
This commit is contained in:
YuLong Yao 2023-09-10 14:03:53 +08:00 committed by Carles Cufí
commit 1a2a8fd49b
4 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1 @@
CONFIG_DMA=y

View file

@ -0,0 +1,30 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
uart1_test: uart1_test {
group1 {
pinmux = <UART1_TX_GPIO5>;
};
group2 {
pinmux = <UART1_RX_GPIO6>;
bias-pull-up;
};
};
};
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";
};

View file

@ -0,0 +1 @@
CONFIG_DMA=y

View file

@ -0,0 +1,35 @@
/*
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
* Copyright (c) 2023 YuLong Yao<feilongphone@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
uart1_test: uart1_test {
group1 {
pinmux = <UART1_TX_GPIO5>;
};
group2 {
pinmux = <UART1_RX_GPIO6>;
bias-pull-up;
};
};
};
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";
};
&uart0 {
status = "okay";
};