Commit | Line | Data |
---|---|---|
d50f974c BG |
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 | ||
7 | title: RS485 serial communications Bindings | |
8 | ||
9f60a65b RH |
9 | description: 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. | |
d50f974c BG |
12 | |
13 | maintainers: | |
9f60a65b | 14 | - Rob Herring <robh@kernel.org> |
d50f974c BG |
15 | |
16 | properties: | |
17 | rs485-rts-delay: | |
18 | description: prop-encoded-array <a b> | |
3d21a460 RH |
19 | $ref: /schemas/types.yaml#/definitions/uint32-array |
20 | items: | |
21 | items: | |
22 | - description: Delay between rts signal and beginning of data sent in | |
23 | milliseconds. It corresponds to the delay before sending data. | |
24 | default: 0 | |
25 | maximum: 1000 | |
26 | - description: Delay between end of data sent and rts signal in milliseconds. | |
27 | It corresponds to the delay after sending data and actual release | |
28 | of the line. | |
29 | default: 0 | |
30 | maximum: 1000 | |
d50f974c BG |
31 | |
32 | rs485-rts-active-low: | |
33 | description: drive RTS low when sending (default is high). | |
34 | $ref: /schemas/types.yaml#/definitions/flag | |
35 | ||
36 | linux,rs485-enabled-at-boot-time: | |
9f60a65b RH |
37 | description: enables the rs485 feature at boot time. It can be disabled |
38 | later with proper ioctl. | |
d50f974c BG |
39 | $ref: /schemas/types.yaml#/definitions/flag |
40 | ||
41 | rs485-rx-during-tx: | |
9f60a65b RH |
42 | description: enables the receiving of data even while sending data. |
43 | $ref: /schemas/types.yaml#/definitions/flag | |
01c38ecf LW |
44 | |
45 | rs485-term-gpios: | |
46 | description: GPIO pin to enable RS485 bus termination. | |
47 | maxItems: 1 | |
6a0e321e RH |
48 | |
49 | additionalProperties: true | |
50 | ||
9f60a65b | 51 | ... |