# Intel IXP4xx Expansion Bus Controller

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

> Device-tree binding reference for Intel IXP4xx Expansion Bus Controller.

<!-- 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;memory&#45;controllers&#47;intel&#44;ixp4xx&#45;expansion&#45;bus&#45;controller&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IXP4xx expansion bus controller handles access to devices on the
memory-mapped expansion bus on the Intel IXP4xx family of system on chips,
including IXP42x, IXP43x, IXP45x and IXP46x.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;bus&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;intel&#44;ixp42x&#45;expansion&#45;bus&#45;controller&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;intel&#44;ixp43x&#45;expansion&#45;bus&#45;controller&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;intel&#44;ixp45x&#45;expansion&#45;bus&#45;controller&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;intel&#44;ixp46x&#45;expansion&#45;bus&#45;controller&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">Control registers for the expansion bus, these are not inside the memory range handled by the expansion bus.</p>
</div>

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

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

### <code>native&#45;endian</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-92b369b22ca6beee44c9">[<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-b824a21a38473e201235">
<p style="white-space: pre-wrap">The IXP4xx has a peculiar MMIO access scheme, as it changes the access pattern for words (swizzling) on the bus depending on whether the SoC is running in big-endian or little-endian mode. Thus the registers must always be accessed using native endianness.</p>
</div>

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

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

<div id="dt-56d7bd958afc920979c6">
<p style="white-space: pre-wrap">The first cell is the chip select number.
The second cell is the address offset within the bank.</p>
</div>

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>2</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>1</code></span>

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

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

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

<a id="dt-43b0a2c310c74daba2e4"></a>

### <code>dma&#45;ranges</code> — required here

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

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

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

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

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

<div id="dt-f3970c7e874a92299c1a">
<p style="white-space: pre-wrap">Devices attached to chip selects are represented as subnodes.</p>
</div>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ce59478d78ce8a631b9b">[<code>&#47;schemas&#47;memory&#45;controllers&#47;intel&#44;ixp4xx&#45;expansion&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-memory-controllers/intel-ixp4xx-expansion-peripheral-props.md#dt-root>)</span>

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

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

<code>true</code>

Allowed by this rule.

**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;native&#45;endian&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ranges&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;ranges&#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/interrupt-controller/irq.h&gt;
bus@50000000 {
    compatible = "intel,ixp42x-expansion-bus-controller", "syscon";
    reg = &lt;0xc4000000 0x28&gt;;
    native-endian;
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0 0x0 0x50000000 0x01000000&gt;,
             &lt;1 0x0 0x51000000 0x01000000&gt;;
    dma-ranges = &lt;0 0x0 0x50000000 0x01000000&gt;,
                 &lt;1 0x0 0x51000000 0x01000000&gt;;
    flash@0,0 {
        compatible = "intel,ixp4xx-flash", "cfi-flash";
        bank-width = &lt;2&gt;;
        reg = &lt;0 0x00000000 0x1000000&gt;;
        intel,ixp4xx-eb-t3 = &lt;3&gt;;
        intel,ixp4xx-eb-cycle-type = &lt;0&gt;;
        intel,ixp4xx-eb-byte-access-on-halfword = &lt;1&gt;;
        intel,ixp4xx-eb-write-enable = &lt;1&gt;;
        intel,ixp4xx-eb-byte-access = &lt;0&gt;;
    };
    serial@1,0 {
        compatible = "exar,xr16l2551", "ns8250";
        reg = &lt;1 0x00000000 0x10&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        clock-frequency = &lt;1843200&gt;;
        intel,ixp4xx-eb-t3 = &lt;3&gt;;
        intel,ixp4xx-eb-cycle-type = &lt;1&gt;;
        intel,ixp4xx-eb-write-enable = &lt;1&gt;;
        intel,ixp4xx-eb-byte-access = &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>
