# Common Properties for Serial-attached Devices

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings_

> Device-tree binding reference for Common Properties for Serial-attached Devices.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;serial&#47;serial&#45;peripheral&#45;props&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Greg Kroah&#45;Hartman &#60;gregkh&#64;linuxfoundation&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Devices connected over serial/UART, expressed as children of a serial controller, might need similar properties, e.g. for configuring the baud rate.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-7773c1aabffc7772c5a0"></a>

### <code>max&#45;speed</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6069ce702d0a5c256f8e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-dfa08af6b6b99430a5e9">
<p style="white-space: pre-wrap">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.</p>
</div>

<a id="dt-6d7d719f8cc734f6147b"></a>

### <code>current&#45;speed</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-be9030cb2088cf93c825">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-481aad712d7797ad8c09">
<pre><code>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</code></pre>
</div>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

</details>
