shields: esp_8266: support Nuvoton numaker_pfm_m467 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
c7ce871a04
commit
fe75bb950f
1 changed files with 35 additions and 0 deletions
35
boards/shields/esp_8266/boards/numaker_pfm_m467.overlay
Normal file
35
boards/shields/esp_8266/boards/numaker_pfm_m467.overlay
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Nuvoton Technology Corporation.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&pinctrl {
|
||||||
|
uart2_esp8266: uart2_esp8266 {
|
||||||
|
group0 {
|
||||||
|
pinmux = <PC1MFP_UART2_TXD>,
|
||||||
|
<PC0MFP_UART2_RXD>,
|
||||||
|
<PC3MFP_UART2_nRTS>,
|
||||||
|
<PC2MFP_UART2_nCTS>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart2 {
|
||||||
|
status = "okay";
|
||||||
|
current-speed = <115200>;
|
||||||
|
hw-flow-control;
|
||||||
|
|
||||||
|
pinctrl-0 = <&uart2_esp8266>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
|
||||||
|
esp8266: esp8266 {
|
||||||
|
compatible = "espressif,esp-at";
|
||||||
|
reset-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&gpioc {
|
||||||
|
status = "okay";
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue