1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/serial/rs485.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: RS485 serial communications Bindings 8 9description: The RTS signal is capable of automatically controlling line 10 direction for the built-in half-duplex mode. The properties described 11 hereafter shall be given to a half-duplex capable UART node. 12 13maintainers: 14 - Rob Herring <robh@kernel.org> 15 16properties: 17 rs485-rts-delay: 18 description: prop-encoded-array <a b> 19 allOf: 20 - $ref: /schemas/types.yaml#/definitions/uint32-array 21 - items: 22 items: 23 - description: 24 Delay between rts signal and beginning of data sent in milliseconds. 25 It corresponds to the delay before sending data. 26 default: 0 27 maximum: 1000 28 - description: 29 Delay between end of data sent and rts signal in milliseconds. 30 It corresponds to the delay after sending data and actual release of the line. 31 default: 0 32 maximum: 1000 33 34 rs485-rts-active-low: 35 description: drive RTS low when sending (default is high). 36 $ref: /schemas/types.yaml#/definitions/flag 37 38 linux,rs485-enabled-at-boot-time: 39 description: enables the rs485 feature at boot time. It can be disabled 40 later with proper ioctl. 41 $ref: /schemas/types.yaml#/definitions/flag 42 43 rs485-rx-during-tx: 44 description: enables the receiving of data even while sending data. 45 $ref: /schemas/types.yaml#/definitions/flag 46... 47