Intel IXP4xx PCI controller

Schema identifier ($id): "http://devicetree.org/schemas/pci/intel,ixp4xx-pci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

PCI host controller found in the Intel IXP4xx SoC series.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pci/pci-host-bridge.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "intel,ixp42x-pci", "intel,ixp43x-pci"

The two supported variants are ixp42x and ixp43x, though more variants may exist.

reg — required here #

Array item rules (items) #

Item 1

IXP4xx-specific registers

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Main PCI interrupt

Item 2

PCI DMA interrupt 1

Item 3

PCI DMA interrupt 2

ranges — not listed as required here #

Maximum number of items (maxItems): 2

Typically one memory range of 64MB and one IO space range of 64KB.

dma-ranges — required here #

Maximum number of items (maxItems): 1

The DMA range tells the PCI host which addresses the RAM is at. It can map only 64MB so if the RAM is bigger than 64MB the DMA access has to be restricted to these addresses.

#interrupt-cells — required here #

true — No constraints added by this property rule.

interrupt-map — required here #

true — No constraints added by this property rule.

interrupt-map-mask — required here #

Array item rules (items) #

Item 1

Exact value (const): 63488

Item 2

Exact value (const): 0

Item 3

Exact value (const): 0

Item 4

Exact value (const): 7

Required in this object (required): "compatible", "reg", "dma-ranges", "#interrupt-cells", "interrupt-map", "interrupt-map-mask"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

pci@c0000000 {
  compatible = "intel,ixp43x-pci";
  reg = <0xc0000000 0x1000>;
  #address-cells = <3>;
  #size-cells = <2>;
  device_type = "pci";
  bus-range = <0x00 0xff>;

  ranges =
    <0x02000000 0 0x48000000 0x48000000 0 0x04000000>,
    <0x01000000 0 0x00000000 0x4c000000 0 0x00010000>;
  dma-ranges =
    <0x02000000 0 0x00000000 0x00000000 0 0x04000000>;

  #interrupt-cells = <1>;
  interrupt-map-mask = <0xf800 0 0 7>;
  interrupt-map =
    <0x0800 0 0 1 &gpio0 11 3>, /* INT A on slot 1 is irq 11 */
    <0x0800 0 0 2 &gpio0 10 3>, /* INT B on slot 1 is irq 10 */
    <0x0800 0 0 3 &gpio0 9  3>, /* INT C on slot 1 is irq 9 */
    <0x0800 0 0 4 &gpio0 8  3>, /* INT D on slot 1 is irq 8 */
    <0x1000 0 0 1 &gpio0 10 3>, /* INT A on slot 2 is irq 10 */
    <0x1000 0 0 2 &gpio0 9  3>, /* INT B on slot 2 is irq 9 */
    <0x1000 0 0 3 &gpio0 8  3>, /* INT C on slot 2 is irq 8 */
    <0x1000 0 0 4 &gpio0 11 3>, /* INT D on slot 2 is irq 11 */
    <0x1800 0 0 1 &gpio0 9  3>, /* INT A on slot 3 is irq 9 */
    <0x1800 0 0 2 &gpio0 8  3>, /* INT B on slot 3 is irq 8 */
    <0x1800 0 0 3 &gpio0 11 3>, /* INT C on slot 3 is irq 11 */
    <0x1800 0 0 4 &gpio0 10 3>; /* INT D on slot 3 is irq 10 */
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page