# MMC Controller & Slots Common Properties

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

> Device-tree binding reference for MMC Controller & Slots Common Properties.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;mmc&#47;mmc&#45;controller&#45;common&#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;Ulf Hansson &#60;ulf&#46;hansson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">These properties are common to multiple MMC host controllers and the possible slots or ports for multi-slot controllers.</p>
</div>

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

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

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

<div id="dt-56d7bd958afc920979c6">
<p style="white-space: pre-wrap">The cell is the SDIO function number if a function subnode is used.</p>
</div>

<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-1516a19772646516d08c"></a>

### <code>broken&#45;cd</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-77c94693e85912a236dd">[<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-53e7eacb2e026e26828c">
<p style="white-space: pre-wrap">There is no card detection available; polling must be used.</p>
</div>

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

### <code>cd&#45;gpios</code> — not listed as required here

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

<div id="dt-f62b41f0cca32f0efe42">
<p style="white-space: pre-wrap">The card detection will be done using the GPIO provided.</p>
</div>

<a id="dt-47949931447cea45f220"></a>

### <code>non&#45;removable</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-19b79f760d28737953a5">[<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-701341f2931b137bb37f">
<p style="white-space: pre-wrap">Non-removable slot (like eMMC); assume always present.</p>
</div>

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

### <code>wp&#45;inverted</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-48fdd5f85280b1ab019e">[<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-118788b02b0dcf60fdf0">
<p style="white-space: pre-wrap">The Write Protect line polarity is inverted.</p>
</div>

<a id="dt-86f707f741d9af548723"></a>

### <code>cd&#45;inverted</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f24f79d5bf2393c52875">[<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-a8fb20c1a9511346c9e0">
<p style="white-space: pre-wrap">The CD line polarity is inverted.</p>
</div>

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

### <code>bus&#45;width</code> — not listed as required here

<div id="dt-d407af4e41a84dac1f86">
<p style="white-space: pre-wrap">Number of data lines.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-778208bafcacc19722bf"></a> <span id="dt-9abbdd6b10de59c78090"><code>1</code></span>, <span id="dt-134013aba6486513cbcf"><code>4</code></span>, <span id="dt-7635b42d02d82d89e5ec"><code>8</code></span>

**Default value (<code>default</code>):** <span id="dt-d3bcd0d7470eea8810b0"><code>1</code></span>

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

### <code>max&#45;frequency</code> — not listed as required here

<div id="dt-14b8e6f9ba1b64b00bca">
<pre><code>Maximum operating frequency of the bus:
  - for eMMC, the maximum supported frequency is 200MHz,
  - for SD/SDIO cards the SDR104 mode has a max supported
    frequency of 208MHz,
  - some mmc host controllers do support a max frequency up to
    384MHz.
So, lets keep the maximum supported value here.</code></pre>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-86d4fe08f6d383ad4b37"><code>400000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-98d0d4884f550be0336e"><code>384000000</code></span>

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

### <code>max&#45;sd&#45;hs&#45;hz</code> — not listed as required here

<div id="dt-18a325533270024b81e9">
<p style="white-space: pre-wrap">Maximum frequency (in Hz) to be used for SD cards operating in
High-Speed (HS) mode.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-7685f690d7bc33d2e0be"><code>400000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-8a3b7bb98818bb3d9c82"><code>50000000</code></span>

**Default value (<code>default</code>):** <span id="dt-6e68d8c8ec16eda9d44d"><code>50000000</code></span>

<a id="dt-5352fa9613583af65887"></a>

### <code>disable&#45;wp</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e893746da1bac2b63a1c">[<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-34371d661d28629d5669">
<p style="white-space: pre-wrap">When set, no physical write-protect line is present. This property should only be specified when the controller has a dedicated write-protect detection logic. If a GPIO is always used for the write-protect detection logic, it is sufficient to not specify the wp-gpios property in the absence of a write-protect line. Not used in combination with eMMC or SDIO.</p>
</div>

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

### <code>wp&#45;gpios</code> — not listed as required here

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

<div id="dt-b3d5c4aa54d3e1aefc66">
<p style="white-space: pre-wrap">GPIO to use for the write-protect detection.</p>
</div>

<a id="dt-18804be4384ee479a2fe"></a>

### <code>cd&#45;debounce&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-9047a14bd481af612f0a">
<p style="white-space: pre-wrap">Set delay time before detecting card after card insert interrupt.</p>
</div>

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

### <code>no&#45;1&#45;8&#45;v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6c6d0d0fbec554aaefc5">[<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-493e092bc204858f4e73">
<p style="white-space: pre-wrap">When specified, denotes that 1.8V card voltage is not supported on this system, even if the controller claims it.</p>
</div>

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

### <code>cap&#45;sd&#45;highspeed</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9fac4d46bb1d51713d35">[<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-174f2f3854d5a59707c0">
<p style="white-space: pre-wrap">SD high-speed timing is supported.</p>
</div>

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

### <code>cap&#45;mmc&#45;highspeed</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7e7cb3a4cab34fa2422c">[<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-2358c29f95afaf44d4de">
<p style="white-space: pre-wrap">MMC high-speed timing is supported.</p>
</div>

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

### <code>sd&#45;uhs&#45;sdr12</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7d86aae7282f1cebec4b">[<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-efe26a6c0a267796666e">
<p style="white-space: pre-wrap">SD UHS SDR12 speed is supported.</p>
</div>

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

### <code>sd&#45;uhs&#45;sdr25</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5877947dab9094645b38">[<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-636030ec6770ca98e53e">
<p style="white-space: pre-wrap">SD UHS SDR25 speed is supported.</p>
</div>

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

### <code>sd&#45;uhs&#45;sdr50</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9fc56623b3ad4fa7c26b">[<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-032d0a226d981ba9364c">
<p style="white-space: pre-wrap">SD UHS SDR50 speed is supported.</p>
</div>

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

### <code>sd&#45;uhs&#45;sdr104</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-922ae7105af0f1b02ff8">[<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-063e0627babcbe7410f2">
<p style="white-space: pre-wrap">SD UHS SDR104 speed is supported.</p>
</div>

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

### <code>sd&#45;uhs&#45;ddr50</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c497f732ca255ad2f217">[<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-b31b2966da3ff535395a">
<p style="white-space: pre-wrap">SD UHS DDR50 speed is supported.</p>
</div>

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

### <code>cap&#45;power&#45;off&#45;card</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2475fb9b95ea9aca9909">[<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-26bd9f1f542b9adeb927">
<p style="white-space: pre-wrap">Powering off the card is safe.</p>
</div>

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

### <code>cap&#45;mmc&#45;hw&#45;reset</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-375deda9c2958de2aaf4">[<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-4a737b298b42753be771">
<p style="white-space: pre-wrap">eMMC hardware reset is supported</p>
</div>

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

### <code>cap&#45;sdio&#45;irq</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9a7eba14619be9963012">[<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-0deaf486c88000b9b844">
<p style="white-space: pre-wrap">enable SDIO IRQ signalling on this interface</p>
</div>

<a id="dt-15331094ad4bda09019e"></a>

### <code>full&#45;pwr&#45;cycle</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-49c3da049caab26a7044">[<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-281d21406f1ad72d5c1b">
<p style="white-space: pre-wrap">Full power cycle of the card is supported.</p>
</div>

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

### <code>full&#45;pwr&#45;cycle&#45;in&#45;suspend</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3d3711fa6acb6cceeb07">[<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-cf02ea74fc7734940c0e">
<p style="white-space: pre-wrap">Full power cycle of the card in suspend is supported.</p>
</div>

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

### <code>mmc&#45;ddr&#45;1&#95;2v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-09228723e9aba581d9dc">[<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-62762a0e1a9269f66994">
<p style="white-space: pre-wrap">eMMC high-speed DDR mode (1.2V I/O) is supported.</p>
</div>

<a id="dt-2907040b1954a77ee303"></a>

### <code>mmc&#45;ddr&#45;1&#95;8v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e1a789fa62cfe5d95e0e">[<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-8f891eb6fa22d3431050">
<p style="white-space: pre-wrap">eMMC high-speed DDR mode (1.8V I/O) is supported.</p>
</div>

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

### <code>mmc&#45;ddr&#45;3&#95;3v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9349c5099e8cc59c34a1">[<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-3db44f02f0a310101767">
<p style="white-space: pre-wrap">eMMC high-speed DDR mode (3.3V I/O) is supported.</p>
</div>

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

### <code>mmc&#45;hs200&#45;1&#95;2v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-7b06d992311108a045dc">[<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-43401c7ba8d73bb5f499">
<p style="white-space: pre-wrap">eMMC HS200 mode (1.2V I/O) is supported.</p>
</div>

<a id="dt-9768ce43eeebe48bdaad"></a>

### <code>mmc&#45;hs200&#45;1&#95;8v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6d9b866a721c872a4a9e">[<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-e15c1537d3da7ab61442">
<p style="white-space: pre-wrap">eMMC HS200 mode (1.8V I/O) is supported.</p>
</div>

<a id="dt-50136cbd95ae851981f1"></a>

### <code>mmc&#45;hs400&#45;1&#95;2v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-125d783f5274139492da">[<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-5036ede6d6de90df32c6">
<p style="white-space: pre-wrap">eMMC HS400 mode (1.2V I/O) is supported.</p>
</div>

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

### <code>mmc&#45;hs400&#45;1&#95;8v</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-de0a8d6c5fe845389bd3">[<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-5356ff0665fac1b66de4">
<p style="white-space: pre-wrap">eMMC HS400 mode (1.8V I/O) is supported.</p>
</div>

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

### <code>mmc&#45;hs400&#45;enhanced&#45;strobe</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5984ae6dce71dc49a9e5">[<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-03728e85c5f96b60fdec">
<p style="white-space: pre-wrap">eMMC HS400 enhanced strobe mode is supported</p>
</div>

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

### <code>no&#45;mmc&#45;hs400</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4b147d9265939c3eaf99">[<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-1aaf2ef3a0a103a159e4">
<p style="white-space: pre-wrap">All eMMC HS400 modes are not supported.</p>
</div>

<a id="dt-36b7e43edef699de24dc"></a>

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

<div id="dt-81d38bcaef5d65de40d6">
<p style="white-space: pre-wrap">Value the card Driver Stage Register (DSR) should be programmed with.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-fe93b3e077bcfc3ac2bb"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-7c5c3fed05da93f4da0b"><code>65535</code></span>

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

### <code>no&#45;sdio</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-668a55db644abfb7a766">[<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-1576e7b460cca2d7477a">
<p style="white-space: pre-wrap">Controller is limited to send SDIO commands during initialization.</p>
</div>

<a id="dt-05f3d150feab1ca75d04"></a>

### <code>no&#45;sd</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-aa63a8208d7e63e6d8f0">[<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-4a87c88b158ec42942e1">
<p style="white-space: pre-wrap">Controller is limited to send SD commands during initialization.</p>
</div>

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

### <code>no&#45;mmc</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-92f3edc76218acf4951f">[<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-3fdc3d2a3e996d8397e5">
<p style="white-space: pre-wrap">Controller is limited to send MMC commands during initialization.</p>
</div>

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

### <code>fixed&#45;emmc&#45;driver&#45;type</code> — not listed as required here

<div id="dt-cdb0cc32d6eae61079c3">
<p style="white-space: pre-wrap">For non-removable eMMC, enforce this driver type. The value is the driver type as specified in the eMMC specification (table 206 in spec version 5.1)</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-5ee3bf4ff968fb4983b2"><code>0</code></span>

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

<a id="dt-03099414cd7803ae6cfe"></a>

### <code>post&#45;power&#45;on&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-2ee525451a535cad1782">
<p style="white-space: pre-wrap">It was invented for MMC pwrseq-simple which could be referred to mmc-pwrseq-simple.yaml. But now it\'s reused as a tunable delay waiting for I/O signalling and card power supply to be stable, regardless of whether pwrseq-simple is used. Default to 10ms if not available.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-33d69c933d1485b077ee"><code>10</code></span>

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

### <code>supports&#45;cqe</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dd0ac0bdd7ad8422154e">[<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-46efa1aeea3feae0de0e">
<p style="white-space: pre-wrap">The presence of this property indicates that the corresponding MMC host controller supports HW command queue feature.</p>
</div>

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

### <code>disable&#45;cqe&#45;dcmd</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5bae7f61f52eaf51180d">[<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-b505e76a496434b2fb20">
<p style="white-space: pre-wrap">The presence of this property indicates that the MMC controller\'s command queue engine (CQE) does not support direct commands (DCMDs).</p>
</div>

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

### <code>keep&#45;power&#45;in&#45;suspend</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dcd79db24e56b196355a">[<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-6c782939ebd66591ed09">
<p style="white-space: pre-wrap">SDIO only. Preserves card power during a suspend/resume cycle.</p>
</div>

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

### <code>wakeup&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-713117ae6f55b65120e7">[<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-bc66149156eb778046f0">
<p style="white-space: pre-wrap">SDIO only. Enables wake up of host system on SDIO IRQ assertion.</p>
</div>

<a id="dt-9519f937a5b9babbb4c8"></a>

### <code>vmmc&#45;supply</code> — not listed as required here

<div id="dt-4b78d8d298d0623d03c9">
<p style="white-space: pre-wrap">Supply for the card power</p>
</div>

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

### <code>vqmmc&#45;supply</code> — not listed as required here

<div id="dt-7c0219e314b1cba558d1">
<p style="white-space: pre-wrap">Supply for the bus IO line power, such as a level shifter. If the level shifter is controlled by a GPIO line, this shall be modeled as a "regulator-fixed" with a GPIO line for switching the level shifter on/off.</p>
</div>

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

### <code>mmc&#45;pwrseq</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-984a39c9e7e729ebd86e">[<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-e862f319c7bf417b8853">
<p style="white-space: pre-wrap">System-on-Chip designs may specify a specific MMC power sequence. To successfully detect an (e)MMC/SD/SDIO card, that power sequence must be maintained while initializing the card.</p>
</div>

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

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

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

### <code>&#94;&#46;&#42;&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

<div id="dt-87fb5036e5bf7988bb5a">
<p style="white-space: pre-wrap">On embedded systems the cards connected to a host may need
additional properties. These can be specified in subnodes to the
host controller node. The subnodes are identified by the
standard \'reg\' property. Which information exactly can be
specified depends on the bindings for the SDIO function driver
for the subnode, as specified by the compatible string.</p>
</div>

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

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

<a id="dt-750c83e9001ca4e347b4"></a>

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

<div id="dt-945e84dd0f8fd5a6a428">
<p style="white-space: pre-wrap">Name of SDIO function following generic names recommended practice</p>
</div>

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

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

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

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

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

**Item 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-5a2f79a5420726631de1"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-d412eee0f97985db6d2d"><code>7</code></span>
>
> <div id="dt-7b932cfe7052978f8752">
> <p style="white-space: pre-wrap">Must contain the SDIO function number of the function this subnode describes. A value of 0 denotes the memory SD function, values from 1 to 7 denote the SDIO functions.</p>
> </div>

**Required in this object (<code>required</code>):** <a id="dt-bbf0795feb65ee1d8913"></a> <span id="dt-60d73ceeadbf5b7a8dbd"><code>&#34;reg&#34;</code></span>

<a id="dt-113c9923908523fba1d8"></a>

### <code>&#94;clk&#45;phase&#45;&#40;legacy&#124;sd&#45;hs&#124;mmc&#45;&#40;hs&#124;hs&#91;24&#93;00&#124;ddr52&#41;&#124;uhs&#45;&#40;sdr&#40;12&#124;25&#124;50&#124;104&#41;&#124;ddr50&#41;&#41;&#36;</code> — name matches this regular expression

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

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

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

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

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

> **Minimum value (<code>minimum</code>):** <span id="dt-0d89c95048bcfc575869"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-612c6bcbda23f7d36324"><code>359</code></span>
>
> <div id="dt-6e14732a5a3eaaec4958">
> <p style="white-space: pre-wrap">Set the clock (phase) delays which are to be configured in the controller while switching to particular speed mode. These values are in pair of degrees.</p>
> </div>

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

## Property dependencies (<code>dependencies</code>)

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

### <code>cd&#45;debounce&#45;delay&#45;ms</code> — applies when this property is present

Also requires: <span id="dt-48bde26fde8c11f5d276"><code>&#34;cd&#45;gpios&#34;</code></span>

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

### <code>fixed&#45;emmc&#45;driver&#45;type</code> — applies when this property is present

Also requires: <span id="dt-1f32dc0a368999bbe804"><code>&#34;non&#45;removable&#34;</code></span>

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

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

<code>true</code>

Allowed by this rule.

## 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</span></p>

<p id="dt-comment-1"><strong>Line 25:</strong> <span> Card Detection.</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> If none of these properties are supplied, the host native card</span></p>

<p id="dt-comment-3"><strong>Line 27:</strong> <span> detect will be used. Only one of them should be provided.</span></p>

<p id="dt-comment-4"><strong>Line 44:</strong> <span> *NOTE* on CD and WP polarity. To use common for all SD/MMC host</span></p>

<p id="dt-comment-5"><strong>Line 45:</strong> <span> controllers line polarity properties, we have to fix the meaning</span></p>

<p id="dt-comment-6"><strong>Line 46:</strong> <span> of the "normal" and "inverted" line levels. We choose to follow</span></p>

<p id="dt-comment-7"><strong>Line 47:</strong> <span> the SDHCI standard, which specifies both those lines as "active</span></p>

<p id="dt-comment-8"><strong>Line 48:</strong> <span> low." Therefore, using the "cd-inverted" property means, that the</span></p>

<p id="dt-comment-9"><strong>Line 49:</strong> <span> CD line is active high, i.e. it is high, when a card is</span></p>

<p id="dt-comment-10"><strong>Line 50:</strong> <span> inserted. Similar logic applies to the "wp-inverted" property.</span></p>

<p id="dt-comment-11"><strong>Line 51:</strong> <span></span></p>

<p id="dt-comment-12"><strong>Line 52:</strong> <span> CD and WP lines can be implemented on the hardware in one of two</span></p>

<p id="dt-comment-13"><strong>Line 53:</strong> <span> ways: as GPIOs, specified in cd-gpios and wp-gpios properties, or</span></p>

<p id="dt-comment-14"><strong>Line 54:</strong> <span> as dedicated pins. Polarity of dedicated pins can be specified,</span></p>

<p id="dt-comment-15"><strong>Line 55:</strong> <span> using *-inverted properties. GPIO polarity can also be specified</span></p>

<p id="dt-comment-16"><strong>Line 56:</strong> <span> using the GPIO_ACTIVE_LOW flag. This creates an ambiguity in the</span></p>

<p id="dt-comment-17"><strong>Line 57:</strong> <span> latter case. We choose to use the XOR logic for GPIO CD and WP</span></p>

<p id="dt-comment-18"><strong>Line 58:</strong> <span> lines.  This means, the two properties are "superimposed," for</span></p>

<p id="dt-comment-19"><strong>Line 59:</strong> <span> example leaving the GPIO_ACTIVE_LOW flag clear and specifying the</span></p>

<p id="dt-comment-20"><strong>Line 60:</strong> <span> respective *-inverted property results in a</span></p>

<p id="dt-comment-21"><strong>Line 61:</strong> <span> double-inversion and actually means the "normal" line polarity is</span></p>

<p id="dt-comment-22"><strong>Line 62:</strong> <span> in effect.</span></p>

<p id="dt-comment-23"><strong>Line 73:</strong> <span> Other properties</span></p>

</details>
