RS485 serial communications
Schema identifier ($id): "http://devicetree.org/schemas/serial/rs485.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The RTS signal is capable of automatically controlling line direction for the built-in half-duplex mode. The properties described hereafter shall be given to a half-duplex capable UART node.
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
rs485-rts-delay — not listed as required here #
prop-encoded-array <a b>
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Delay between rts signal and beginning of data sent in milliseconds. It corresponds to the delay before sending data.
Default value (
default):0Maximum value (
maximum):100
Item 2
Delay between end of data sent and rts signal in milliseconds. It corresponds to the delay after sending data and actual release of the line.
Default value (
default):0Maximum value (
maximum):100
rs485-rts-active-high — not listed as required here #
drive RTS high when sending (this is the default).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rts-active-low — not listed as required here #
drive RTS low when sending (default is high).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rx-active-high — not listed as required here #
Polarity of receiver enable signal (when separate from RTS). True indicates active high (default is low).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
linux,rs485-enabled-at-boot-time — not listed as required here #
enables the rs485 feature at boot time. It can be disabled later with proper ioctl.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rx-during-tx — not listed as required here #
enables the receiving of data even while sending data.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-term-gpios — not listed as required here #
GPIO pin to enable RS485 bus termination.
Maximum number of items (maxItems): 1
rs485-rx-during-tx-gpios — not listed as required here #
Output GPIO pin that sets the state of rs485-rx-during-tx. This signal can be used to control the RX part of an RS485 transceiver. Thereby the active state enables RX during TX.
Maximum number of items (maxItems): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0