1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/serial/seri 4 $id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Common Properties for Serial-attached D 7 title: Common Properties for Serial-attached Devices 8 8 9 maintainers: 9 maintainers: 10 - Rob Herring <robh@kernel.org> 10 - Rob Herring <robh@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation. 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 12 12 13 description: 13 description: 14 Devices connected over serial/UART, expresse 14 Devices connected over serial/UART, expressed as children of a serial 15 controller, might need similar properties, e 15 controller, might need similar properties, e.g. for configuring the baud 16 rate. 16 rate. 17 17 18 properties: 18 properties: 19 max-speed: 19 max-speed: 20 $ref: /schemas/types.yaml#/definitions/uin 20 $ref: /schemas/types.yaml#/definitions/uint32 21 description: 21 description: 22 The maximum baud rate the device operate 22 The maximum baud rate the device operates at. 23 This should only be present if the maxim 23 This should only be present if the maximum is less than the slave 24 device can support. For example, a part 24 device can support. For example, a particular board has some 25 signal quality issue or the host process 25 signal quality issue or the host processor can't support higher 26 baud rates. 26 baud rates. 27 27 28 current-speed: 28 current-speed: 29 $ref: /schemas/types.yaml#/definitions/uin 29 $ref: /schemas/types.yaml#/definitions/uint32 30 description: | 30 description: | 31 The current baud rate the device operate 31 The current baud rate the device operates at. 32 This should only be present in case a dr 32 This should only be present in case a driver has no chance to know 33 the baud rate of the slave device. 33 the baud rate of the slave device. 34 Examples: 34 Examples: 35 * device supports auto-baud 35 * device supports auto-baud 36 * the rate is setup by a bootloader an 36 * the rate is setup by a bootloader and there is no way to reset 37 the device 37 the device 38 * device baud rate is configured by it 38 * device baud rate is configured by its firmware but there is no 39 way to request the actual settings 39 way to request the actual settings 40 40 41 additionalProperties: true 41 additionalProperties: true
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.