# Marvell Armada 37xx SoCs Peripheral Clocks

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

> Device-tree binding reference for Marvell Armada 37xx SoCs Peripheral Clocks.

<!-- 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;clock&#47;marvell&#44;armada&#45;3700&#45;periph&#45;clock&#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">Marvell Armada 37xx SoCs provide peripheral clocks which are used as clock source for the peripheral of the SoC.
There are two different blocks associated to north bridge and south bridge.
The following is a list of provided IDs for Armada 3700 North bridge clocks:</p>
<pre><code>  ID	Clock name	Description
  -----------------------------------
  0	mmc		MMC controller
  1	sata_host	Sata Host
  2	sec_at		Security AT
  3	sac_dap		Security DAP
  4	tsecm		Security Engine
  5	setm_tmx	Serial Embedded Trace Module
  6	avs		Adaptive Voltage Scaling
  7	sqf		SPI
  8	pwm		PWM
  9	i2c_2		I2C 2
  10	i2c_1		I2C 1
  11	ddr_phy		DDR PHY
  12	ddr_fclk	DDR F clock
  13	trace		Trace
  14	counter		Counter
  15	eip97		EIP 97
  16	cpu		CPU</code></pre>
<p style="white-space: pre-wrap">The following is a list of provided IDs for Armada 3700 South bridge clocks:</p>
<pre><code>  ID	Clock name	Description
  -----------------------------------
  0	gbe-50		50 MHz parent clock for Gigabit Ethernet
  1	gbe-core	parent clock for Gigabit Ethernet core
  2	gbe-125		125 MHz parent clock for Gigabit Ethernet
  3	gbe1-50		50 MHz clock for Gigabit Ethernet port 1
  4	gbe0-50		50 MHz clock for Gigabit Ethernet port 0
  5	gbe1-125	125 MHz clock for Gigabit Ethernet port 1
  6	gbe0-125	125 MHz clock for Gigabit Ethernet port 0
  7	gbe1-core	Gigabit Ethernet core port 1
  8	gbe0-core	Gigabit Ethernet core port 0
  9	gbe-bm		Gigabit Ethernet Buffer Manager
  10	sdio		SDIO
  11	usb32-sub2-sys	USB 2 clock
  12	usb32-ss-sys	USB 3 clock
  13	pcie		PCIe controller</code></pre>
</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-39566f01414e34c67b85"></a>

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

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;marvell&#44;armada&#45;3700&#45;periph&#45;clock&#45;sb&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;marvell&#44;armada&#45;3700&#45;periph&#45;clock&#45;nb&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;syscon&#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-4e9a371963ac013ad39d"></a>

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

<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">TBG-A P clock and specifier</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">TBG-B P clock and specifier</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">TBG-A S clock and specifier</p>
> </div>

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

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">TBG-B S clock and specifier</p>
> </div>

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

**Item 5**

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

<a id="dt-7471877b51a93881192b"></a>

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

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>1</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;&#35;clock&#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">clock-controller@13000{
    compatible = "marvell,armada-3700-periph-clock-sb";
    reg = &lt;0x13000 0x1000&gt;;
    clocks = &lt;&amp;tbg 0&gt;, &lt;&amp;tbg 1&gt;, &lt;&amp;tbg 2&gt;, &lt;&amp;tbg 3&gt;, &lt;&amp;xtalclk&gt;;
    #clock-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>
