# Motorola Mapphone MDM6600 USB PHY

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

> Device-tree binding reference for Motorola Mapphone MDM6600 USB PHY.

<!-- 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;motorola&#44;mapphone&#45;mdm6600&#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;Tony Lindgren &#60;tony&#64;atomide&#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

<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;motorola&#44;mapphone&#45;mdm6600&#34;</code></span>

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

### <code>enable&#45;gpios</code> — required here

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO to enable the USB PHY</p>
</div>

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

<a id="dt-14edba3514ad1a59dfe6"></a>

### <code>power&#45;gpios</code> — required here

<div id="dt-5d667970eaf12e991b4e">
<p style="white-space: pre-wrap">GPIO to power on the device</p>
</div>

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

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

### <code>reset&#45;gpios</code> — required here

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO to reset the device</p>
</div>

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

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

### <code>motorola&#44;mode&#45;gpios</code> — required here

<div id="dt-8b40c631b7d32d681dd9">
<p style="white-space: pre-wrap">Two GPIOs to configure MDM6600 USB start-up mode for normal mode versus USB flashing mode</p>
</div>

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

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

<a id="dt-38009c7a98d662cc3b08"></a>

**Item 1**

> <div id="dt-7a914b215c9b5d4bc25d">
> <p style="white-space: pre-wrap">normal mode select GPIO</p>
> </div>

<a id="dt-32a4faaa31e2959cc6fe"></a>

**Item 2**

> <div id="dt-618e16cee7487ae11380">
> <p style="white-space: pre-wrap">USB flashing mode select GPIO</p>
> </div>

<a id="dt-6490197d631adf3f54a3"></a>

### <code>motorola&#44;cmd&#45;gpios</code> — required here

<div id="dt-99a8c194b263e245dec2">
<p style="white-space: pre-wrap">Three GPIOs to control the power state of the MDM6600</p>
</div>

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

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

<a id="dt-052b9ba01fe0269615be"></a>

**Item 1**

> <div id="dt-0b3b88cf74b2c14d0e00">
> <p style="white-space: pre-wrap">power state control GPIO 0</p>
> </div>

<a id="dt-0598a331b52993bc6ffd"></a>

**Item 2**

> <div id="dt-65c9c26c25edcef7a5ca">
> <p style="white-space: pre-wrap">power state control GPIO 1</p>
> </div>

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

**Item 3**

> <div id="dt-8eaa3076eda5606f69eb">
> <p style="white-space: pre-wrap">power state control GPIO 2</p>
> </div>

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

### <code>motorola&#44;status&#45;gpios</code> — required here

<div id="dt-2f898e9f0f015740379d">
<p style="white-space: pre-wrap">Three GPIOs to read the power state of the MDM6600</p>
</div>

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

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

<a id="dt-602a34cc28fd1d236d1b"></a>

**Item 1**

> <div id="dt-f376e16deb4320c84efd">
> <p style="white-space: pre-wrap">power state read GPIO 0</p>
> </div>

<a id="dt-72df7c173a7a352b644a"></a>

**Item 2**

> <div id="dt-53a025c665bfbe7b95bf">
> <p style="white-space: pre-wrap">power state read GPIO 1</p>
> </div>

<a id="dt-3661e886e33c97894cfd"></a>

**Item 3**

> <div id="dt-93b6747c65bf55b118ff">
> <p style="white-space: pre-wrap">power state read GPIO 2</p>
> </div>

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

### <code>&#35;phy&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1ecd3d01b2c1b237d666"><code>0</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;enable&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;power&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;motorola&#44;mode&#45;gpios&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;motorola&#44;cmd&#45;gpios&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;motorola&#44;status&#45;gpios&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;

usb-phy {
    compatible = "motorola,mapphone-mdm6600";
    enable-gpios = &lt;&amp;gpio3 31 GPIO_ACTIVE_LOW&gt;;
    power-gpios = &lt;&amp;gpio2 22 GPIO_ACTIVE_HIGH&gt;;
    reset-gpios = &lt;&amp;gpio2 17 GPIO_ACTIVE_HIGH&gt;;
    motorola,mode-gpios = &lt;&amp;gpio5 20 GPIO_ACTIVE_HIGH&gt;,
                          &lt;&amp;gpio5 21 GPIO_ACTIVE_HIGH&gt;;
    motorola,cmd-gpios = &lt;&amp;gpio4 7 GPIO_ACTIVE_HIGH&gt;,
                          &lt;&amp;gpio4 8 GPIO_ACTIVE_HIGH&gt;,
                          &lt;&amp;gpio5 14 GPIO_ACTIVE_HIGH&gt;;
    motorola,status-gpios = &lt;&amp;gpio2 20 GPIO_ACTIVE_HIGH&gt;,
                            &lt;&amp;gpio2 21 GPIO_ACTIVE_HIGH&gt;,
                            &lt;&amp;gpio2 23 GPIO_ACTIVE_HIGH&gt;;
    #phy-cells = &lt;0&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>
