21ed808ba1
Add an option that signifies that the ESP modem may be reset at the same time as the SoC by an external source. When this is the case, we first wait for an unsolicited "ready" message from the modem, before attempting to reset the device. This prevents two initialisation sequences attempting to run at the same time. We still want to wait for the complete initialisation sequence to complete before returning in this case. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
28 lines
681 B
YAML
28 lines
681 B
YAML
# Copyright (c) 2019 Tobias Svehagen
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Espressif ESP8266/ESP32 WiFi modem (AT Commands)
|
|
|
|
compatible: "espressif,esp-at"
|
|
|
|
include: uart-device.yaml
|
|
|
|
properties:
|
|
power-gpios:
|
|
type: phandle-array
|
|
|
|
reset-gpios:
|
|
type: phandle-array
|
|
|
|
external-reset:
|
|
type: boolean
|
|
description:
|
|
Modem is reset by an external source. In most situations this will
|
|
be the microcontroller and the ESP modem on a common reset line.
|
|
|
|
target-speed:
|
|
type: int
|
|
description:
|
|
UART baudrate which will be requested using AT commands and to which
|
|
UART interface will be reconfigured during initialization phase.
|