Freescale MPC83xx PCI/PCI-X/PCIe controllers

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

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

Binding for the PCI/PCI-X/PCIe host bridges on MPC8xxx SoCs

Maintainers (maintainers): "J. Neuschäfer <j.neuschaefer@gmx.net>"

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 #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,mpc8314-pcie", "fsl,mpc8349-pci", "fsl,mpc8540-pci", "fsl,mpc8548-pcie", "fsl,mpc8641-pcie"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,mpc8308-pcie", "fsl,mpc8315-pcie", "fsl,mpc8377-pcie", "fsl,mpc8378-pcie"

Item 2

Exact value (const): "fsl,mpc8314-pcie"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "fsl,mpc8360-pci"

Item 2

Exact value (const): "fsl,mpc8349-pci"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "fsl,mpc8540-pcix"

Item 2

Exact value (const): "fsl,mpc8540-pci"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

internal registers

Item 2

config space access registers

clock-frequency — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Array item rules (items) #

Item 1

Consolidated PCI interrupt

fsl,pci-agent-force-enum — not listed as required here #

Value type (type): "boolean"

Typically any Freescale PCI-X bridge hardware strapped into Agent mode is prevented from enumerating the bus. The PrPMC form-factor requires all mezzanines to be PCI-X Agents, but one per system may still enumerate the bus. This property allows a PCI-X bridge to be used for bus enumeration despite being strapped into Agent mode.

Required in this object (required): "reg", "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

pcie@e0009000 {
    compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie";
    reg = <0xe0009000 0x00001000>;
    ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
              0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
    #address-cells = <3>;
    #size-cells = <2>;
    #interrupt-cells = <1>;
    device_type = "pci";
    bus-range = <0 255>;
    interrupt-map-mask = <0xf800 0 0 7>;
    interrupt-map = <0 0 0 1 &ipic 1 IRQ_TYPE_LEVEL_LOW
                     0 0 0 2 &ipic 1 IRQ_TYPE_LEVEL_LOW
                     0 0 0 3 &ipic 1 IRQ_TYPE_LEVEL_LOW
                     0 0 0 4 &ipic 1 IRQ_TYPE_LEVEL_LOW>;
    clock-frequency = <0>;
};
pci@ef008000 {
    compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
    reg = <0xef008000 0x1000>;
    ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
              0x01000000 0 0x00000000 0xd0000000 0 0x01000000>;
    #interrupt-cells = <1>;
    #size-cells = <2>;
    #address-cells = <3>;
    device_type = "pci";
    clock-frequency = <33333333>;
    interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
    interrupt-map = </* IDSEL */
                     0xe000 0 0 1 &mpic 2 1
                     0xe000 0 0 2 &mpic 3 1>;
    interrupts-extended = <&mpic 24 2>;
    bus-range = <0 0>;
    fsl,pci-agent-force-enum;
};

Source notes #

Annotations retained from the schema source

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

Edit this page