boards: xtensa: Add support for YD-ESP32 board

Add `yd_esp32` board:

- Model name: YD-ESP32
- Manufacturer: VCC-GND® Studio
- Espressif module: ESP32-WROOM-32E

Signed-off-by: Julio Cesar <hi@jcsx.dev>
This commit is contained in:
Julio Cesar 2023-07-05 02:09:38 -03:00 committed by Fabio Baltieri
commit 5e15e8cb48
33 changed files with 1008 additions and 2 deletions

View file

@ -0,0 +1,4 @@
CONFIG_CONSOLE=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_BT_MAX_CONN=9

View file

@ -0,0 +1,34 @@
/*
* Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,bt-c2h-uart = &uart1;
};
};
&pinctrl {
uart1_default: uart1_default {
group1 {
pinmux = <UART1_TX_GPIO5>,
<UART1_RX_GPIO18>,
<UART1_RTS_GPIO19>;
};
group2 {
pinmux = <UART1_CTS_GPIO23>;
bias-pull-up;
};
};
};
&uart1 {
status = "okay";
current-speed = <921600>;
pinctrl-0 = <&uart1_default>;
pinctrl-names = "default";
};