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 <ccli8@nuvoton.com>
This commit is contained in:
parent
d2a5c1ca82
commit
1d913d2147
1 changed files with 43 additions and 0 deletions
43
boards/shields/esp_8266/boards/numaker_m55m1.overlay
Normal file
43
boards/shields/esp_8266/boards/numaker_m55m1.overlay
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Copyright (c) 2025 Nuvoton Technology Corporation.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&pinctrl {
|
||||
uart8_esp8266: uart8_esp8266 {
|
||||
group0 {
|
||||
pinmux = <PJ0MFP_UART8_TXD>,
|
||||
<PJ1MFP_UART8_RXD>,
|
||||
<PI15MFP_UART8_nRTS>,
|
||||
<PI14MFP_UART8_nCTS>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&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";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue