Skip to content

Commit 1d913d2

Browse files
ccli8kartben
authored andcommitted
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>
1 parent d2a5c1c commit 1d913d2

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* Copyright (c) 2025 Nuvoton Technology Corporation.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pinctrl {
8+
uart8_esp8266: uart8_esp8266 {
9+
group0 {
10+
pinmux = <PJ0MFP_UART8_TXD>,
11+
<PJ1MFP_UART8_RXD>,
12+
<PI15MFP_UART8_nRTS>,
13+
<PI14MFP_UART8_nCTS>;
14+
};
15+
};
16+
};
17+
18+
&uart8 {
19+
status = "okay";
20+
current-speed = <115200>;
21+
hw-flow-control;
22+
23+
pinctrl-0 = <&uart8_esp8266>;
24+
pinctrl-names = "default";
25+
26+
esp8266: esp8266 {
27+
compatible = "espressif,esp-at";
28+
reset-gpios = <&gpiod 2 GPIO_ACTIVE_LOW>;
29+
status = "okay";
30+
};
31+
};
32+
33+
&gpiod {
34+
status = "okay";
35+
};
36+
37+
&gpioi {
38+
status = "okay";
39+
};
40+
41+
&gpioj {
42+
status = "okay";
43+
};

0 commit comments

Comments
 (0)