# MediaTek mt76 wireless devices

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

> Device-tree binding reference for MediaTek mt76 wireless devices.

<!-- 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;wireless&#47;mediatek&#44;mt76&#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;Felix Fietkau &#60;nbd&#64;nbd&#46;name&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Lorenzo Bianconi &#60;lorenzo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Ryder Lee &#60;ryder&#46;lee&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This node provides properties for configuring the MediaTek mt76xx
wireless device. The node is expected to be specified as a child
node of the PCI controller to which the wireless chip is connected.
Alternatively, it can specify the wireless part of the MT7628/MT7688
or MT7622/MT7986 SoC.</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;mediatek&#44;mt76&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt7628&#45;wmac&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mediatek&#44;mt7622&#45;wmac&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;mediatek&#44;mt7981&#45;wmac&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;mediatek&#44;mt7986&#45;wmac&#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>1</code></span>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">MT7986 should contain 3 regions consys, dcm, and sku, in this order.</p>
</div>

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">major interrupt for rings</p>
> </div>

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

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">additional interrupt for ring 19</p>
> </div>

<a id="dt-6825e597892563d56556"></a>

**Item 3**

> <div id="dt-2c85367ad575dfda8b35">
> <p style="white-space: pre-wrap">additional interrupt for ring 4</p>
> </div>

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

**Item 4**

> <div id="dt-aa4f93a6c04967e709f9">
> <p style="white-space: pre-wrap">additional interrupt for ring 5</p>
> </div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

### <code>memory&#45;region</code> — not listed as required here

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

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

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

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

<div id="dt-d372137de588ae9d23ee">
<p style="white-space: pre-wrap">Specify the consys reset for mt7986.</p>
</div>

<a id="dt-563c20491090a57ac4c9"></a>

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

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

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Specify the consys clocks for mt7986.</p>
</div>

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

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

<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;mcu&#34;</code></span>

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

**Item 2**

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

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

### <code>mediatek&#44;infracfg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5ff507f1ac9abdd8528a">[<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-39d6cddb953119cdf7fa">
<p style="white-space: pre-wrap">Phandle to the infrastructure bus fabric syscon node. This property is MT7622 specific</p>
</div>

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

### <code>ieee80211&#45;freq&#45;limit</code> — not listed as required here

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

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

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

<a id="dt-6623d2ec738c83ce2eb0"></a>

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

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

**Item 1**

> <div id="dt-963a59e96105c17766a3">
> <p style="white-space: pre-wrap">NVMEM cell with EEPROM</p>
> </div>

<a id="dt-28ee7fd676493bbd8d08"></a>

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

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

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

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

**Item 1**

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

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

### <code>mediatek&#44;eeprom&#45;data</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-31bf08fc8316ca186c12">[<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>

<div id="dt-c2aa4981928e18a07fca">
<p style="white-space: pre-wrap">EEPROM data embedded as array.</p>
</div>

<a id="dt-583f689fe323b83c8d53"></a>

### <code>mediatek&#44;mtd&#45;eeprom</code> — not listed as required here

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

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

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

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

**Item 1**

> <a id="dt-aaf00592d2ef09e96c8a"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-78778018a0d21c673010"></a>
>
> **Item 1**
>
> > <div id="dt-501a3945a202a6b26eb3">
> > <p style="white-space: pre-wrap">phandle to MTD partition</p>
> > </div>
>
> <a id="dt-140474aa71e1e1b9e557"></a>
>
> **Item 2**
>
> > <div id="dt-327dc46c9bab7c4340f6">
> > <p style="white-space: pre-wrap">offset containing EEPROM data</p>
> > </div>

<div id="dt-e2f29a6f8471e75e35f0">
<p style="white-space: pre-wrap">Phandle to a MTD partition + offset containing EEPROM data</p>
</div>

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

<a id="dt-319a1197721d8cd4e338"></a>

### <code>big&#45;endian</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d8bd302dd0c504225ad4">[<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-24fc11f69b4701ad477f">
<p style="white-space: pre-wrap">Specify if the radio eeprom partition is written in big-endian</p>
</div>

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

### <code>mediatek&#44;eeprom&#45;merge&#45;otp</code> — not listed as required here

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

<div id="dt-984ca5abe5c5e59b1923">
<p style="white-space: pre-wrap">Merge EEPROM data with OTP data. Can be used on boards where the flash calibration data is generic and specific calibration data should be pulled from the OTP ROM</p>
</div>

<a id="dt-78d2ea55a713f4bb28c8"></a>

### <code>mediatek&#44;disable&#45;radar&#45;background</code> — not listed as required here

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

<div id="dt-020652b6b7689f9cf0ff">
<p style="white-space: pre-wrap">Disable/enable radar/CAC detection running on a dedicated offchannel chain available on some hw. Background radar/CAC detection allows to avoid the CAC downtime switching on a different channel during CAC detection on the selected radar channel.</p>
</div>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9bcb424756fa839d1c42">[<code>&#47;schemas&#47;leds&#47;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-60b829bfcfb5f6754307"></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-1a11b6a1ae7ba32ef65e"></a>

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

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

**<code>led&#45;active&#45;low</code> — not listed as required here**

<div id="dt-a31ba328a12b3cd3a79b">
<p style="white-space: pre-wrap">LED is enabled with ground signal.</p>
</div>

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

<a id="dt-8717b03cc28e77d13202"></a>

**<code>led&#45;sources</code> — not listed as required here**

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

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

### <code>power&#45;limits</code> — not listed as required here

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

<a id="dt-17ef22841868a70e8c1d"></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-e53409d2e24cd12c046f"></a>

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

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

**<code>&#94;r&#91;0&#45;9&#93;&#43;</code> — name matches this regular expression**

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

<a id="dt-768c9403e0ce7e23543c"></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-166f9b18936c464363c7"></a>

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

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

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

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

<div id="dt-918c62bc7180bff7b7a3">
<p style="white-space: pre-wrap">Regdomain refers to a legal regulatory region. Different countries define different levels of allowable transmitter power, time that a channel can be occupied, and different available channels</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d0eeac6222811f480155"></a> <span id="dt-7f40a38ba22bb0bf2a48"><code>&#34;FCC&#34;</code></span>, <span id="dt-1129febd0d8b03d81a08"><code>&#34;ETSI&#34;</code></span>, <span id="dt-9aa575945b597dbc2c79"><code>&#34;JP&#34;</code></span>

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

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

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

**String pattern (<code>pattern</code>):** <span id="dt-c1eed29021457b7f4f92"><code>&#34;&#94;&#91;A&#45;Z&#93;&#123;2&#125;&#36;&#34;</code></span>

<div id="dt-40f3814a800419e15cf1">
<p style="white-space: pre-wrap">ISO 3166-1 alpha-2 country code for power limits</p>
</div>

<a id="dt-030b23c3e22ed95e8edd"></a>

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

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

**<code>&#94;txpower&#45;&#91;256&#93;g&#36;</code> — name matches this regular expression**

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

<a id="dt-26416977f478bc5f1686"></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-dde4d43923eda41e6911"></a>

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

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

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

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

<a id="dt-0b93955ba3188042aaa7"></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-3a281c95596fd38bb649"></a>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af85fa3ae21c7d910ce7">[<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-5264196a4580695bf2b6"><code>2</code></span>

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

<div id="dt-5c60c6e43733e358f2ac">
<p style="white-space: pre-wrap">Pairs of first and last channel number of the selected band</p>
</div>

<a id="dt-64bcf495799e26928927"></a>

**<code>rates&#45;cck</code> — not listed as required here**

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

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

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

<div id="dt-2ce3f0744350cdb2450a">
<p style="white-space: pre-wrap">4 half-dBm per-rate power limit values</p>
</div>

<a id="dt-26be60d1eaa981c39370"></a>

**<code>rates&#45;ofdm</code> — not listed as required here**

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-5052a24703340793b906"><code>8</code></span>

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

<div id="dt-994fb6ce1f45be06a36f">
<p style="white-space: pre-wrap">8 half-dBm per-rate power limit values</p>
</div>

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

**<code>rates&#45;mcs</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-881bfef75257e87f9bb8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8cfcf4a378cede1963c2>)</span>

<div id="dt-4961281609a887b3a214">
<p style="white-space: pre-wrap">Sets of per-rate power limit values for 802.11n/802.11ac rates for multiple channel bandwidth settings. Each set starts with the number of channel bandwidth settings for which the rate set applies, followed by either 8 or 10 power limit values. The order of the channel bandwidth settings is 20, 40, 80 and 160 MHz.</p>
</div>

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

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

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

> **Minimum number of items (<code>minItems</code>):** <span id="dt-a52f5c71984bf127aed7"><code>9</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-cbef2da65639aee86a46"><code>11</code></span>

<a id="dt-8a409f69137ab6335392"></a>

**<code>rates&#45;ru</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9b7016aeaf01a6ec8838">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8cfcf4a378cede1963c2>)</span>

<div id="dt-c497ea29c73f2e4ee734">
<p style="white-space: pre-wrap">Sets of per-rate power limit values for 802.11ax rates for multiple channel bandwidth or resource unit settings. Each set starts with the number of channel bandwidth or resource unit settings for which the rate set applies, followed by 12 power limit values. The order of the channel resource unit settings is RU26, RU52, RU106, RU242/SU20, RU484/SU40, RU996/SU80 and RU2x996/SU160.</p>
</div>

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

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

> **Minimum number of items (<code>minItems</code>):** <span id="dt-b4b6dda58eb33f547e23"><code>13</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-9adf7d2cc5e193cecdc6"><code>13</code></span>

<a id="dt-8dc183ae7938ab7eb14b"></a>

**<code>paths&#45;cck</code> — not listed as required here**

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

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

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

<div id="dt-2e53f20c36766f573fbd">
<p style="white-space: pre-wrap">4 half-dBm backoff values (1 - 4 antennas, single spacial stream)</p>
</div>

<a id="dt-446fa21dd1d01a5e13a5"></a>

**<code>paths&#45;ofdm</code> — not listed as required here**

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

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

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

<div id="dt-dc88c5364f37c406d6e4">
<p style="white-space: pre-wrap">4 half-dBm backoff values (1 - 4 antennas, single spacial stream)</p>
</div>

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

**<code>paths&#45;ofdm&#45;bf</code> — not listed as required here**

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

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

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

<div id="dt-8b23d32599964e7cf51c">
<p style="white-space: pre-wrap">4 half-dBm backoff values for beamforming (1 - 4 antennas, single spacial stream)</p>
</div>

<a id="dt-819a9676b1c1f30bc2a9"></a>

**<code>paths&#45;ru</code> — not listed as required here**

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

<div id="dt-853fc6f700fd27612e18">
<p style="white-space: pre-wrap">Sets of half-dBm backoff values for 802.11ax rates for 1T1ss (aka 1 transmitting antenna with 1 spacial stream), 2T1ss, 3T1ss, 4T1ss, 2T2ss, 3T2ss, 4T2ss, 3T3ss, 4T3ss and 4T4ss. Each set starts with the number of channel bandwidth or resource unit settings for which the rate set applies, followed by 10 power limit values. The order of the channel resource unit settings is RU26, RU52, RU106, RU242/SU20, RU484/SU40, RU996/SU80 and RU2x996/SU160.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-dbdb9aafd7d54dd3e2d5"><code>7</code></span>

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

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

> **Minimum number of items (<code>minItems</code>):** <span id="dt-6d2ec5739819d76a977b"><code>11</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-8e73072aa7b9a242dc26"><code>11</code></span>

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

**<code>paths&#45;ru&#45;bf</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-00a035bea286f6ad511a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8cfcf4a378cede1963c2>)</span>

<div id="dt-75e27acd9f11ba7a35a5">
<p style="white-space: pre-wrap">Sets of half-dBm backoff (beamforming) values for 802.11ax rates for 1T1ss (aka 1 transmitting antenna with 1 spacial stream), 2T1ss, 3T1ss, 4T1ss, 2T2ss, 3T2ss, 4T2ss, 3T3ss, 4T3ss and 4T4ss. Each set starts with the number of channel bandwidth or resource unit settings for which the rate set applies, followed by 10 power limit values. The order of the channel resource unit settings is RU26, RU52, RU106, RU242/SU20, RU484/SU40, RU996/SU80 and RU2x996/SU160.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e01136f160b986f1cc3e"><code>7</code></span>

<a id="dt-47e955f4517b7448649f"></a>

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

> **Minimum number of items (<code>minItems</code>):** <span id="dt-982328137acce88719c9"><code>11</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-d14957f28c232f0185c4"><code>11</code></span>

<a id="dt-044d45cc06b4571e2685"></a>

**<code>txs&#45;delta</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-725f8c596d0ffbd7832a">[<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>

<div id="dt-83c0412e5f1e8af6d2a5">
<p style="white-space: pre-wrap">Half-dBm power delta for different numbers of antennas</p>
</div>

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

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

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>ieee80211&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/wireless/ieee80211.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;mediatek&#44;mt7981&#45;wmac&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;mediatek&#44;mt7986&#45;wmac&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4e9b8776c0efa8e9014c"><code>4</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3a470f37dffcfac0d142"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-4782626e5b6f9bbe58aa"><code>1</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">pcie0 {
  #address-cells = &lt;3&gt;;
  #size-cells = &lt;2&gt;;
  wifi@0,0 {
    compatible = "mediatek,mt76";
    reg = &lt;0x0000 0 0 0 0&gt;;
    ieee80211-freq-limit = &lt;5000000 6000000&gt;;
    mediatek,mtd-eeprom = &lt;&amp;factory 0x8000&gt;;
    big-endian;

    led {
      led-sources = &lt;2&gt;;
    };

    power-limits {
      r0 {
        regdomain = "FCC";
        txpower-5g {
           b0 {
               channels = &lt;36 48&gt;;
               rates-ofdm = /bits/ 8 &lt;23 23 23 23 23 23 23 23&gt;;
               rates-mcs = /bits/ 8 &lt;1 23 23 23 23 23 23 23 23 23 23&gt;,
                           /bits/ 8 &lt;3 22 22 22 22 22 22 22 22 22 22&gt;;
               rates-ru = /bits/ 8 &lt;3 22 22 22 22 22 22 22 22 22 22 22 22&gt;,
                          /bits/ 8 &lt;4 20 20 20 20 20 20 20 20 20 20 20 20&gt;;
           };
           b1 {
               channels = &lt;100 181&gt;;
               rates-ofdm = /bits/ 8 &lt;14 14 14 14 14 14 14 14&gt;;
               rates-mcs = /bits/ 8  &lt;4 14 14 14 14 14 14 14 14 14 14&gt;;
               txs-delta = &lt;12 9 6&gt;;
               rates-ru = /bits/ 8  &lt;7 14 14 14 14 14 14 14 14 14 14 14 14&gt;;
           };
         };
      };
    };
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">wifi@10300000 {
  compatible = "mediatek,mt7628-wmac";
  reg = &lt;0x10300000 0x100000&gt;;

  interrupt-parent = &lt;&amp;cpuintc&gt;;
  interrupts = &lt;6&gt;;

  nvmem-cells = &lt;&amp;eeprom&gt;;
  nvmem-cell-names = "eeprom";
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
wifi@18000000 {
  compatible = "mediatek,mt7622-wmac";
  reg = &lt;0x10300000 0x100000&gt;;
  interrupts = &lt;GIC_SPI 211 IRQ_TYPE_LEVEL_LOW&gt;;

  mediatek,infracfg = &lt;&amp;infracfg&gt;;

  power-domains = &lt;&amp;scpsys 3&gt;;
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">wifi@18000000 {
    compatible = "mediatek,mt7986-wmac";
    resets = &lt;&amp;watchdog 23&gt;;
    reset-names = "consys";
    reg = &lt;0x18000000 0x1000000&gt;,
          &lt;0x10003000 0x1000&gt;,
          &lt;0x11d10000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;topckgen 50&gt;,
             &lt;&amp;topckgen 62&gt;;
    clock-names = "mcu", "ap2conn";
    memory-region = &lt;&amp;wmcpu_emi&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.</span></p>

</details>
