Intel IXP4xx Expansion Bus Controller
Schema identifier ($id): "http://devicetree.org/schemas/memory-controllers/intel,ixp4xx-expansion-bus-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
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.
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^bus@[0-9a-f]+$"
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"intel,ixp42x-expansion-bus-controller","intel,ixp43x-expansion-bus-controller","intel,ixp45x-expansion-bus-controller","intel,ixp46x-expansion-bus-controller"
Item 2
Exact value (
const):"syscon"
reg — required here #
Control registers for the expansion bus, these are not inside the memory range handled by the expansion bus.
Maximum number of items (maxItems): 1
native-endian — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
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.
#address-cells — required here #
The first cell is the chip select number. The second cell is the address offset within the bank.
Exact value (const): 2
#size-cells — required here #
Exact value (const): 1
ranges — required here #
true — No constraints added by this property rule.
dma-ranges — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^.*@[0-7],[0-9a-f]+$ — name matches this regular expression #
Devices attached to chip selects are represented as subnodes.
Value type (type): "object"
Shared schema rule ($ref): /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Required in this object (required): "compatible", "reg", "native-endian", "#address-cells", "#size-cells", "ranges", "dma-ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
bus@50000000 {
compatible = "intel,ixp42x-expansion-bus-controller", "syscon";
reg = <0xc4000000 0x28>;
native-endian;
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0x0 0x50000000 0x01000000>,
<1 0x0 0x51000000 0x01000000>;
dma-ranges = <0 0x0 0x50000000 0x01000000>,
<1 0x0 0x51000000 0x01000000>;
flash@0,0 {
compatible = "intel,ixp4xx-flash", "cfi-flash";
bank-width = <2>;
reg = <0 0x00000000 0x1000000>;
intel,ixp4xx-eb-t3 = <3>;
intel,ixp4xx-eb-cycle-type = <0>;
intel,ixp4xx-eb-byte-access-on-halfword = <1>;
intel,ixp4xx-eb-write-enable = <1>;
intel,ixp4xx-eb-byte-access = <0>;
};
serial@1,0 {
compatible = "exar,xr16l2551", "ns8250";
reg = <1 0x00000000 0x10>;
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
clock-frequency = <1843200>;
intel,ixp4xx-eb-t3 = <3>;
intel,ixp4xx-eb-cycle-type = <1>;
intel,ixp4xx-eb-write-enable = <1>;
intel,ixp4xx-eb-byte-access = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)