# High-Level Data Link Control(HDLC)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Soc bindings / fsl / cpm_qe_

> Device-tree binding reference for High-Level Data Link Control(HDLC).

<!-- 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;soc&#47;fsl&#47;cpm&#95;qe&#47;fsl&#44;ucc&#45;hdlc&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">HDLC part in Universal communication controllers (UCCs)</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

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

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

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;fsl&#44;ucc&#45;hdlc&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-19cbc5b7e5dabb16c580"></a>

### <code>cell&#45;index</code> — not listed as required here

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

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

### <code>rx&#45;clock&#45;name</code> — not listed as required here

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

<a id="dt-36427076f4710878804a"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-107f96238d21f45298ca"></a>

**Rule 1**

> **String pattern (<code>pattern</code>):** <span id="dt-ac483741b83446dc694c"><code>&#34;&#94;brg&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;6&#93;&#41;&#36;&#34;</code></span>

<a id="dt-4c659e2da7e9b48500a1"></a>

**Rule 2**

> **String pattern (<code>pattern</code>):** <span id="dt-de1997bdf1e6818bc559"><code>&#34;&#94;clk&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;9&#93;&#124;2&#91;0&#45;4&#93;&#41;&#36;&#34;</code></span>

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

### <code>tx&#45;clock&#45;name</code> — not listed as required here

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

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

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **String pattern (<code>pattern</code>):** <span id="dt-aabb006f1ade12e79514"><code>&#34;&#94;brg&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;6&#93;&#41;&#36;&#34;</code></span>

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

**Rule 2**

> **String pattern (<code>pattern</code>):** <span id="dt-058ffd3eb127f7965d22"><code>&#34;&#94;clk&#40;&#91;0&#45;9&#93;&#124;1&#91;0&#45;9&#93;&#124;2&#91;0&#45;4&#93;&#41;&#36;&#34;</code></span>

<a id="dt-827ff9c935d859071616"></a>

### <code>fsl&#44;tdm&#45;interface</code> — not listed as required here

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

<div id="dt-a02f6d6a842612c31969">
<p style="white-space: pre-wrap">Specify that hdlc is based on tdm-interface</p>
</div>

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

### <code>fsl&#44;rx&#45;sync&#45;clock</code> — not listed as required here

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

<div id="dt-ddfde72850061adff04d">
<p style="white-space: pre-wrap">rx-sync</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-8bd60641603df5f2193c"></a> <span id="dt-e0a16299d43f473d13b9"><code>&#34;none&#34;</code></span>, <span id="dt-97528daac7d281c3b827"><code>&#34;rsync&#95;pin&#34;</code></span>, <span id="dt-de344b8a24490eb713df"><code>&#34;brg9&#34;</code></span>, <span id="dt-a2a2a5a9dd660154c6b1"><code>&#34;brg10&#34;</code></span>, <span id="dt-f4f3289c308bcc0a551d"><code>&#34;brg11&#34;</code></span>, <span id="dt-dab7664473394e03cd30"><code>&#34;brg13&#34;</code></span>, <span id="dt-999d6133c62c09e4c984"><code>&#34;brg14&#34;</code></span>, <span id="dt-f3d96502544c057c82e0"><code>&#34;brg15&#34;</code></span>

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

### <code>fsl&#44;tx&#45;sync&#45;clock</code> — not listed as required here

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

<div id="dt-66767c686ed66039d65b">
<p style="white-space: pre-wrap">tx-sync</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-1be733f307a790b52a4c"></a> <span id="dt-8bda84c24bbbcaafde44"><code>&#34;none&#34;</code></span>, <span id="dt-ab4d9ce54bf95956bb39"><code>&#34;tsync&#95;pin&#34;</code></span>, <span id="dt-7d956ac254fe8211c17b"><code>&#34;brg9&#34;</code></span>, <span id="dt-2e2e5f90872737ee8f44"><code>&#34;brg10&#34;</code></span>, <span id="dt-c0eff5ca459942443012"><code>&#34;brg11&#34;</code></span>, <span id="dt-1452503d30f95c7de161"><code>&#34;brg13&#34;</code></span>, <span id="dt-5d47ec1f8a004aef0df9"><code>&#34;brg14&#34;</code></span>, <span id="dt-730955185d00a4a45661"><code>&#34;brg15&#34;</code></span>

<a id="dt-78b4829212509190454d"></a>

### <code>fsl&#44;tdm&#45;framer&#45;type</code> — not listed as required here

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

<div id="dt-6d8cd1540e8d5c67db76">
<p style="white-space: pre-wrap">required for tdm interface</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-40d1aaf950d1417dd3a9"></a> <span id="dt-e935abaeaab0757016c9"><code>&#34;e1&#34;</code></span>, <span id="dt-16beece4b19d0017ad5a"><code>&#34;t1&#34;</code></span>

<a id="dt-4d4b1776c7d3ce493106"></a>

### <code>fsl&#44;tdm&#45;id</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9beef511ea4e5d72cf0d">[<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-875cae13e140d4897c8b">
<p style="white-space: pre-wrap">number of TDM ID</p>
</div>

<a id="dt-798381884e2e018102c9"></a>

### <code>fsl&#44;tx&#45;timeslot&#45;mask</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-43dd5389a3b26a77268e">[<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-c9d8df64501565763cf4">
<p style="white-space: pre-wrap">required for tdm interface. time slot mask for TDM operation. Indicates which time slots used for transmitting and receiving.</p>
</div>

<a id="dt-1b86bd4b8ed1ad40c3bc"></a>

### <code>fsl&#44;rx&#45;timeslot&#45;mask</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20f9f8084e614c97d269">[<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-fbe17fe1590074be6edb">
<p style="white-space: pre-wrap">required for tdm interface. time slot mask for TDM operation. Indicates which time slots used for transmitting and receiving.</p>
</div>

<a id="dt-17a30f4b50359fff1d54"></a>

### <code>fsl&#44;siram&#45;entry&#45;id</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-75f0dca98e82e019314c">[<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-2bdc6c75d7f52e8cafd5">
<p style="white-space: pre-wrap">required for tdm interface Must be 0,2,4...64. the number of TDM entry.</p>
</div>

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

### <code>fsl&#44;tdm&#45;internal&#45;loopback</code> — not listed as required here

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

<div id="dt-1acade96e78f92f1f33c">
<p style="white-space: pre-wrap">optional for tdm interface Internal loopback connecting on TDM layer.</p>
</div>

<a id="dt-33c1f2933c8c09d08b5d"></a>

### <code>fsl&#44;hmask</code> — not listed as required here

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

<div id="dt-4f95033059ff9e965cd5">
<p style="white-space: pre-wrap">HDLC address recognition. Set to zero to disable
address filtering of packets:
fsl,hmask = /bits/ 16 &lt;0x0000&gt;;</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">communication@2000 {
    compatible = "fsl,ucc-hdlc";
    reg = &lt;0x2000 0x200&gt;;
    rx-clock-name = "clk8";
    tx-clock-name = "clk9";
    fsl,rx-sync-clock = "rsync_pin";
    fsl,tx-sync-clock = "tsync_pin";
    fsl,tx-timeslot-mask = &lt;0xfffffffe&gt;;
    fsl,rx-timeslot-mask = &lt;0xfffffffe&gt;;
    fsl,tdm-framer-type = "e1";
    fsl,tdm-id = &lt;0&gt;;
    fsl,siram-entry-id = &lt;0&gt;;
    fsl,tdm-interface;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">communication@2000 {
    compatible = "fsl,ucc-hdlc";
    reg = &lt;0x2000 0x200&gt;;
    rx-clock-name = "brg1";
    tx-clock-name = "brg1";
};
</code></pre>

## 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>
