Skip to content

Commit

Permalink
shields: esp_8266: support Nuvoton numaker_pfm_m467 board
Browse files Browse the repository at this point in the history
1. Support H/W reset pin
2. Support UART flow control (CTS/RTS)

Signed-off-by: Chun-Chieh Li <[email protected]>
  • Loading branch information
ccli8 authored and fabiobaltieri committed Jan 8, 2024
1 parent c7ce871 commit fe75bb9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions boards/shields/esp_8266/boards/numaker_pfm_m467.overlay
Original file line number Diff line number Diff line change
@@ -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";
};

0 comments on commit fe75bb9

Please sign in to comment.