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