# Marvell Armada 38x COMPHY controller

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

> Device-tree binding reference for Marvell Armada 38x COMPHY controller.

<!-- 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;phy&#47;marvell&#44;armada&#45;380&#45;comphy&#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;Andrew Lunn &#60;andrew&#64;lunn&#46;ch&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Gregory Clement &#60;gregory&#46;clement&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This comphy controller can be found on Marvell Armada 38x. It provides a number of shared PHYs used by various interfaces (network, sata, usb, PCIe...).</p>
</div>

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

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

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

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

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

#### Array item rules (<code>items</code>)

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;marvell&#44;armada&#45;380&#45;comphy&#34;</code></span>

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

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

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

#### Array item rules (<code>items</code>)

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">COMPHY register location and length</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Configuration register location and length</p>
> </div>

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

### <code>reg&#45;names</code> — not listed as required here

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

#### Array item rules (<code>items</code>)

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;comphy&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;conf&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-013c934225003631b71f"></a>

### <code>&#94;phy&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression

<div id="dt-ec9333c1a04119db303e">
<p style="white-space: pre-wrap">A COMPHY lane</p>
</div>

**Value type (<code>type</code>):** <span id="dt-18cb02eac12c45057779"><code>&#34;object&#34;</code></span>

<a id="dt-84a3ea678895b98c07a6"></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-77ff9d44feaca18ebbd0"></a>

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

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-4c506d54d48c4029c3cb"><code>1</code></span>

<a id="dt-440834d6a1fa5dd7b9a5"></a>

**<code>&#35;phy&#45;cells</code> — required here**

<div id="dt-9f4113c185288bfaa0f4">
<p style="white-space: pre-wrap">Input port index for the PHY lane</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-81b8a21292bcc206a1ef"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-649f11cf1ba0ecf23b91"></a> <span id="dt-85b06c7a80cafb1d8d11"><code>&#34;reg&#34;</code></span>, <span id="dt-ecfaaa47f7c2c788a829"><code>&#34;&#35;phy&#45;cells&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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">comphy: phy@18300 {
    compatible = "marvell,armada-380-comphy";
    reg = &lt;0x18300 0x100&gt;, &lt;0x18460 4&gt;;
    reg-names = "comphy", "conf";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cpm_comphy0: phy@0 {
        reg = &lt;0&gt;;
        #phy-cells = &lt;1&gt;;
    };

    cpm_comphy1: phy@1 {
        reg = &lt;1&gt;;
        #phy-cells = &lt;1&gt;;
    };
};
</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>
