42 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common Properties for Serial-attached Devices8 9maintainers:10 - Rob Herring <robh@kernel.org>11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>12 13description:14 Devices connected over serial/UART, expressed as children of a serial15 controller, might need similar properties, e.g. for configuring the baud16 rate.17 18properties:19 max-speed:20 $ref: /schemas/types.yaml#/definitions/uint3221 description:22 The maximum baud rate the device operates at.23 This should only be present if the maximum is less than the slave24 device can support. For example, a particular board has some25 signal quality issue or the host processor can't support higher26 baud rates.27 28 current-speed:29 $ref: /schemas/types.yaml#/definitions/uint3230 description: |31 The current baud rate the device operates at.32 This should only be present in case a driver has no chance to know33 the baud rate of the slave device.34 Examples:35 * device supports auto-baud36 * the rate is setup by a bootloader and there is no way to reset37 the device38 * device baud rate is configured by its firmware but there is no39 way to request the actual settings40 41additionalProperties: true42