zephyr/dts/bindings/misc/zephyr,modbus-serial.yaml
Johann Fischer c96aeff785 modbus: add control for DE/nRE RS-485 transceiver signals
Add support to control DE/nRE RS-485 transceiver signals
over GPIO pins. Useful if the UART controller does not
support RS-485 mode.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-19 15:50:21 +01:00

28 lines
701 B
YAML

# Copyright (c) 2020 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
description: Modbus over serial line device
compatible: "zephyr,modbus-serial"
include: uart-device.yaml
properties:
de-gpios:
type: phandle-array
required: false
description: Driver enable pin.
Driver enable pin (DE) of the RS-485 transceiver.
If connected directly the MCU pin should be configured
as active high.
re-gpios:
type: phandle-array
required: false
description: Receiver enable pin.
Receiver enable pin (nRE) of the RS-485 transceiver.
If connected directly the MCU pin should be configured
as active low.