# Marvell CN913X / Marvell Armada 375, 7K, 8K Ethernet Controller

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

> Device-tree binding reference for Marvell CN913X / Marvell Armada 375, 7K, 8K Ethernet 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;net&#47;marvell&#44;pp2&#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;Marcin Wojtas &#60;mw&#64;semihalf&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Russell King &#60;linux&#64;armlinux&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Marvell Armada 375 Ethernet Controller (PPv2.1)
Marvell Armada 7K/8K Ethernet Controller (PPv2.2)
Marvell CN913X Ethernet Controller (PPv2.3)</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;marvell&#44;armada&#45;375&#45;pp2&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;marvell&#44;armada&#45;7k&#45;pp22&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>3</code></span>

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

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

### <code>&#35;address&#45;cells</code> — not listed as 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> — not listed as required here

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

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">main controller clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">GOP clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">MG clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">MG Core clock</p>
> </div>

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

**Item 5**

> <div id="dt-d67f1ffe8dbde75faf78">
> <p style="white-space: pre-wrap">AXI clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pp&#95;clk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;gop&#95;clk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;mg&#95;clk&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;mg&#95;core&#95;clk&#34;</code></span>

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

**Item 5**

> **Exact value (<code>const</code>):** <span id="dt-0662e29e8e0f6fa46046"><code>&#34;axi&#95;clk&#34;</code></span>

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-79c12c7ea27da3e75031"></a>

### <code>marvell&#44;system&#45;controller</code> — not listed as required here

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

<div id="dt-45622b00e96a8e16f2b1">
<p style="white-space: pre-wrap">a phandle to the system controller.</p>
</div>

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

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

<a id="dt-350f4a93f8680704dbb8"></a>

### <code>&#94;&#40;ethernet&#45;&#41;&#63;port&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-2153d9fcb33f73073876">
<p style="white-space: pre-wrap">subnode for each ethernet port.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0db39119ed394b85dbc9">[<code>ethernet&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/ethernet-controller.md#dt-root>)</span>

<a id="dt-66bcd9bf5542d1bd5345"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-52c76d714d95f6d7c4a9"></a>

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

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

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

<div id="dt-fd61e277269905f62f78">
<p style="white-space: pre-wrap">ID of the port from the MAC point of view.</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-fe20eb47ecb50b1ed3b2"><code>2</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-5eba5c6a66975dbf1da9"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8e75f8579f652766ba3d"><code>10</code></span>

<div id="dt-ea710d618c443c77f576">
<p style="white-space: pre-wrap">interrupt(s) for the port</p>
</div>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-ac12db0c867a0c41b3d9"><code>1</code></span>

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-378a8934ceb75daafb80"><code>&#34;hif0&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-97ea929012325a8a331f"><code>&#34;hif1&#34;</code></span>

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

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-8d94a4be797e369d2645"><code>&#34;hif2&#34;</code></span>

<a id="dt-892a91f0e4ab0aadd16a"></a>

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-54eceed998988a8bc69e"><code>&#34;hif3&#34;</code></span>

<a id="dt-82f3951b9c7875d85b38"></a>

**Item 5**

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

<a id="dt-7cd8198e0e9b6adacb1d"></a>

**Item 6**

> **Exact value (<code>const</code>):** <span id="dt-32123dfcea08373543d9"><code>&#34;hif5&#34;</code></span>

<a id="dt-3d4aa10d78724cd1f74a"></a>

**Item 7**

> **Exact value (<code>const</code>):** <span id="dt-02c2a754875bccb4db9e"><code>&#34;hif6&#34;</code></span>

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

**Item 8**

> **Exact value (<code>const</code>):** <span id="dt-5aaf3eabea10e88eed10"><code>&#34;hif7&#34;</code></span>

<a id="dt-3696a98583ebd4614da8"></a>

**Item 9**

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

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

**Item 10**

> **Exact value (<code>const</code>):** <span id="dt-1632587981ca98cac772"><code>&#34;link&#34;</code></span>

<div id="dt-e173347309de6156e615">
<p style="white-space: pre-wrap">if more than a single interrupt for is given, must be the name associated to the interrupts listed. Valid names are: "hifX", with X in [0..8], and "link". The names "tx-cpu0", "tx-cpu1", "tx-cpu2", "tx-cpu3" and "rx-shared" are supported for backward compatibility but shouldn't be used for new additions.</p>
</div>

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

**<code>phys</code> — not listed as required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-9f6248eba28f87e92aa3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-5842d221e54fa39e4b03"><code>2</code></span>

<div id="dt-39df78d5c8c8d0186cd7">
<p style="white-space: pre-wrap">Generic PHY, providing SerDes connectivity. For most modes, one lane is sufficient, but some (e.g. RXAUI) may require two.</p>
</div>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-728fead9e24476d557c8"></a> <span id="dt-2921771fbaf31e53f1b8"><code>&#34;gmii&#34;</code></span>, <span id="dt-eacae113d921aea74529"><code>&#34;sgmii&#34;</code></span>, <span id="dt-160a6f0e1068f0d05391"><code>&#34;rgmii&#45;id&#34;</code></span>, <span id="dt-ec93ceb168dc22886a65"><code>&#34;1000base&#45;x&#34;</code></span>, <span id="dt-e286366fa69df9f09a2a"><code>&#34;2500base&#45;x&#34;</code></span>, <span id="dt-d24e77f0da9930fd6b9b"><code>&#34;5gbase&#45;r&#34;</code></span>, <span id="dt-27f29a591aefe88911ac"><code>&#34;rxaui&#34;</code></span>, <span id="dt-b5dd4b46dbee73a4ef65"><code>&#34;10gbase&#45;r&#34;</code></span>

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

**<code>port&#45;id</code> — required here**

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

**Deprecated (<code>deprecated</code>):** <span id="dt-05216a9ffefbc19ea49f"><code>true</code></span>

<div id="dt-f1b7773df08615e70f47">
<p style="white-space: pre-wrap">ID of the port from the MAC point of view. Legacy binding for backward compatibility.</p>
</div>

<a id="dt-73ee04094e34f55ccfd6"></a>

**<code>marvell&#44;loopback</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-818267bdba9bccfef392">[<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-0b0471294a4b2cceaa59">
<p style="white-space: pre-wrap">port is loopback mode.</p>
</div>

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

**<code>gop&#45;port&#45;id</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6eaf011c3915a4a97a9e">[<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-5c7132f584e522e1a8e4">
<p style="white-space: pre-wrap">only for marvell,armada-7k-pp22, ID of the port from the GOP (Group Of Ports) point of view. This ID is used to index the per-port registers in the second register area.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-51374fa493a080450cb3"></a> <span id="dt-6e33515f732e297c73eb"><code>&#34;reg&#34;</code></span>, <span id="dt-e72e9df99569cc20a1a4"><code>&#34;interrupts&#34;</code></span>, <span id="dt-f297a77f2b2baf322cf4"><code>&#34;phy&#45;mode&#34;</code></span>, <span id="dt-028bd8d64c3c863f3528"><code>&#34;port&#45;id&#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;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-163c5e9d5c938bee1405"><code>&#34;marvell&#44;armada&#45;7k&#45;pp22&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-47714583d986698a5277"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-51e3de466589c06bce7a"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-ee779ae571d08e44841f">
> > > <p style="white-space: pre-wrap">Packet Processor registers</p>
> > > </div>
> >
> > <a id="dt-87a371b9a996acf08952"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-cba7a3aa31527d4db158">
> > > <p style="white-space: pre-wrap">Networking interfaces registers</p>
> > > </div>
> >
> > <a id="dt-0c7b652ec799c52beacf"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-2ce008f4e54b72f47d11">
> > > <p style="white-space: pre-wrap">CM3 address space used for TX Flow Control</p>
> > > </div>
> >
> > <a id="dt-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b46601d2e44d0accc82c"><code>5</code></span>
> >
> > <a id="dt-935ce0cf7d790018ed2d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-2fd74fdcd652122258bc"><code>5</code></span>
> >
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-52c74ef754754eb617f0"></a>
> >
> > **<code>&#94;&#40;ethernet&#45;&#41;&#63;port&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**
> >
> > **Required in this object (<code>required</code>):** <a id="dt-7bc55c14020b58793435"></a> <span id="dt-06ae8910697dde130ca5"><code>&#34;gop&#45;port&#45;id&#34;</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;marvell&#44;system&#45;controller&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-2260b4580435238d1bb6"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab56007aaae4378331d9"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-5f742a84f397e353add7">
> > > <p style="white-space: pre-wrap">Packet Processor registers</p>
> > > </div>
> >
> > <a id="dt-07c5a7f550c9430650d9"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-b18315c0b5368c6b9ab9">
> > > <p style="white-space: pre-wrap">LMS registers</p>
> > > </div>
> >
> > <a id="dt-86f84ea3328f3e2dda0f"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-4c7c28a93615b14f962e">
> > > <p style="white-space: pre-wrap">Register area per eth0</p>
> > > </div>
> >
> > <a id="dt-45f6c3daf0820787f6ce"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-a23270b9d5df99291a27">
> > > <p style="white-space: pre-wrap">Register area per eth1</p>
> > > </div>
> >
> > <a id="dt-b1c124b62d9838b9250d"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b40c32cc669f73e99aa3"><code>2</code></span>
> >
> > <a id="dt-a49122167f5939d1692d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-0c46ce3e546df914d3d6"><code>2</code></span>
> >
> > <a id="dt-7fb969d41394745ecdc2"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-e037dabb4f97589994bc"></a>
> >
> > **<code>&#94;&#40;ethernet&#45;&#41;&#63;port&#64;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-a661c2a6f56ce26001d9"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-08a012890364f49d6f2c"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-cbf584a0657ea0995166"><code>1</code></span>
> >
> > <a id="dt-b9ff1a3d9181198e8eb1"></a>
> >
> > **<code>gop&#45;port&#45;id</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<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">// For Armada 375 variant
#include &lt;dt-bindings/interrupt-controller/mvebu-icu.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

ethernet@f0000 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "marvell,armada-375-pp2";
    reg = &lt;0xf0000 0xa000&gt;,
          &lt;0xc0000 0x3060&gt;,
          &lt;0xc4000 0x100&gt;,
          &lt;0xc5000 0x100&gt;;
    clocks = &lt;&amp;gateclk 3&gt;, &lt;&amp;gateclk 19&gt;;
    clock-names = "pp_clk", "gop_clk";

    ethernet-port@0 {
        interrupts = &lt;GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH&gt;;
        reg = &lt;0&gt;;
        port-id = &lt;0&gt;; /* For backward compatibility. */
        phy = &lt;&amp;phy0&gt;;
        phy-mode = "rgmii-id";
    };

    ethernet-port@1 {
        interrupts = &lt;GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH&gt;;
        reg = &lt;1&gt;;
        port-id = &lt;1&gt;; /* For backward compatibility. */
        phy = &lt;&amp;phy3&gt;;
        phy-mode = "gmii";
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">// For Armada 7k/8k and Cn913x variants
#include &lt;dt-bindings/interrupt-controller/mvebu-icu.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

ethernet@0 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "marvell,armada-7k-pp22";
    reg = &lt;0x0 0x100000&gt;, &lt;0x129000 0xb000&gt;, &lt;0x220000 0x800&gt;;
    clocks = &lt;&amp;cp0_clk 1 3&gt;, &lt;&amp;cp0_clk 1 9&gt;,
             &lt;&amp;cp0_clk 1 5&gt;, &lt;&amp;cp0_clk 1 6&gt;, &lt;&amp;cp0_clk 1 18&gt;;
    clock-names = "pp_clk", "gop_clk", "mg_clk", "mg_core_clk", "axi_clk";
    marvell,system-controller = &lt;&amp;cp0_syscon0&gt;;

    ethernet-port@0 {
        interrupts = &lt;ICU_GRP_NSR 39 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 51 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 59 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 63 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 67 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 71 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 129 IRQ_TYPE_LEVEL_HIGH&gt;;
        interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
                          "hif5", "hif6", "hif7", "hif8", "link";
        phy-mode = "10gbase-r";
        phys = &lt;&amp;cp0_comphy4 0&gt;;
        reg = &lt;0&gt;;
        port-id = &lt;0&gt;; /* For backward compatibility. */
        gop-port-id = &lt;0&gt;;
    };

    ethernet-port@1 {
        interrupts = &lt;ICU_GRP_NSR 40 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 52 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 60 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 64 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 68 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 72 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 128 IRQ_TYPE_LEVEL_HIGH&gt;;
        interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
                          "hif5", "hif6", "hif7", "hif8", "link";
        phy-mode = "rgmii-id";
        reg = &lt;1&gt;;
        port-id = &lt;1&gt;; /* For backward compatibility. */
        gop-port-id = &lt;2&gt;;
    };

    ethernet-port@2 {
        interrupts = &lt;ICU_GRP_NSR 41 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 53 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 61 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 65 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 69 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 73 IRQ_TYPE_LEVEL_HIGH&gt;,
                     &lt;ICU_GRP_NSR 127 IRQ_TYPE_LEVEL_HIGH&gt;;
        interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4",
                          "hif5", "hif6", "hif7", "hif8", "link";
        phy-mode = "2500base-x";
        managed = "in-band-status";
        phys = &lt;&amp;cp0_comphy5 2&gt;;
        sfp = &lt;&amp;sfp_eth3&gt;;
        reg = &lt;2&gt;;
        port-id = &lt;2&gt;; /* For backward compatibility. */
        gop-port-id = &lt;3&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>
