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