Common Properties for Serial-attached Devices
Schema identifier ($id): "http://devicetree.org/schemas/serial/serial-peripheral-props.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>", "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Devices connected over serial/UART, expressed as children of a serial controller, might need similar properties, e.g. for configuring the baud rate.
Properties and child nodes (properties) #
max-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The maximum baud rate the device operates at. This should only be present if the maximum is less than the slave device can support. For example, a particular board has some signal quality issue or the host processor can't support higher baud rates.
current-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The current baud rate the device operates at.
This should only be present in case a driver has no chance to know
the baud rate of the slave device.
Examples:
* device supports auto-baud
* the rate is setup by a bootloader and there is no way to reset
the device
* device baud rate is configured by its firmware but there is no
way to request the actual settings
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause