# Airoha AN8855 Switch EFUSE

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

> Device-tree binding reference for Airoha AN8855 Switch EFUSE.

<!-- SPDX-License-Identifier: (GPL-2.0 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;nvmem&#47;airoha&#44;an8855&#45;efuse&#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;Christian Marangi &#60;ansuelsmth&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Airoha AN8855 EFUSE used to calibrate internal PHYs and store additional configuration info.</p>
</div>

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;airoha&#44;an8855&#45;efuse&#34;</code></span>

<a id="dt-6930ea8f784750477209"></a>

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

**Exact value (<code>const</code>):** <span id="dt-541510e4539e2eeeee7c"><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;&#35;nvmem&#45;cell&#45;cells&#34;</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">efuse {
    compatible = "airoha,an8855-efuse";

    #nvmem-cell-cells = &lt;0&gt;;

    nvmem-layout {
        compatible = "fixed-layout";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;

        shift_sel_port0_tx_a: shift-sel-port0-tx-a@c {
           reg = &lt;0xc 0x4&gt;;
        };

        shift_sel_port0_tx_b: shift-sel-port0-tx-b@10 {
            reg = &lt;0x10 0x4&gt;;
        };

        shift_sel_port0_tx_c: shift-sel-port0-tx-c@14 {
            reg = &lt;0x14 0x4&gt;;
        };

        shift_sel_port0_tx_d: shift-sel-port0-tx-d@18 {
           reg = &lt;0x18 0x4&gt;;
        };

        shift_sel_port1_tx_a: shift-sel-port1-tx-a@1c {
           reg = &lt;0x1c 0x4&gt;;
        };

        shift_sel_port1_tx_b: shift-sel-port1-tx-b@20 {
           reg = &lt;0x20 0x4&gt;;
        };

        shift_sel_port1_tx_c: shift-sel-port1-tx-c@24 {
           reg = &lt;0x24 0x4&gt;;
        };

        shift_sel_port1_tx_d: shift-sel-port1-tx-d@28 {
           reg = &lt;0x28 0x4&gt;;
        };

        shift_sel_port2_tx_a: shift-sel-port2-tx-a@2c {
            reg = &lt;0x2c 0x4&gt;;
        };

        shift_sel_port2_tx_b: shift-sel-port2-tx-b@30 {
            reg = &lt;0x30 0x4&gt;;
        };

        shift_sel_port2_tx_c: shift-sel-port2-tx-c@34 {
            reg = &lt;0x34 0x4&gt;;
        };

        shift_sel_port2_tx_d: shift-sel-port2-tx-d@38 {
            reg = &lt;0x38 0x4&gt;;
        };

        shift_sel_port3_tx_a: shift-sel-port3-tx-a@4c {
            reg = &lt;0x4c 0x4&gt;;
        };

        shift_sel_port3_tx_b: shift-sel-port3-tx-b@50 {
            reg = &lt;0x50 0x4&gt;;
        };

        shift_sel_port3_tx_c: shift-sel-port3-tx-c@54 {
           reg = &lt;0x54 0x4&gt;;
        };

        shift_sel_port3_tx_d: shift-sel-port3-tx-d@58 {
           reg = &lt;0x58 0x4&gt;;
        };

        shift_sel_port4_tx_a: shift-sel-port4-tx-a@5c {
            reg = &lt;0x5c 0x4&gt;;
        };

        shift_sel_port4_tx_b: shift-sel-port4-tx-b@60 {
            reg = &lt;0x60 0x4&gt;;
        };

        shift_sel_port4_tx_c: shift-sel-port4-tx-c@64 {
            reg = &lt;0x64 0x4&gt;;
        };

        shift_sel_port4_tx_d: shift-sel-port4-tx-d@68 {
            reg = &lt;0x68 0x4&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 OR BSD-2-Clause)</span></p>

</details>
