From 1d913d21471de6202b692114151c8a1861569a37 Mon Sep 17 00:00:00 2001 From: Chun-Chieh Li Date: Fri, 16 May 2025 15:10:34 +0800 Subject: [PATCH] shields: esp_8266: support Nuvoton numaker_m55m1 board 1. Support H/W reset pin 2. Support UART flow control (CTS/RTS) Signed-off-by: Chun-Chieh Li --- .../esp_8266/boards/numaker_m55m1.overlay | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 boards/shields/esp_8266/boards/numaker_m55m1.overlay diff --git a/boards/shields/esp_8266/boards/numaker_m55m1.overlay b/boards/shields/esp_8266/boards/numaker_m55m1.overlay new file mode 100644 index 00000000000..0ed221f6235 --- /dev/null +++ b/boards/shields/esp_8266/boards/numaker_m55m1.overlay @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2025 Nuvoton Technology Corporation. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +&pinctrl { + uart8_esp8266: uart8_esp8266 { + group0 { + pinmux = , + , + , + ; + }; + }; +}; + +&uart8 { + status = "okay"; + current-speed = <115200>; + hw-flow-control; + + pinctrl-0 = <&uart8_esp8266>; + pinctrl-names = "default"; + + esp8266: esp8266 { + compatible = "espressif,esp-at"; + reset-gpios = <&gpiod 2 GPIO_ACTIVE_LOW>; + status = "okay"; + }; +}; + +&gpiod { + status = "okay"; +}; + +&gpioi { + status = "okay"; +}; + +&gpioj { + status = "okay"; +};