Freescale Layerscape SCFG PCIe MSI controller

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/fsl,ls-msi.yaml#"

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

This interrupt controller hardware is a second level interrupt controller that is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based platforms. If interrupt-parent is not provided, the default parent interrupt controller will be used.

Each PCIe node needs to have property msi-parent that points to MSI controller node

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,ls1012a-msi", "fsl,ls1021a-msi", "fsl,ls1043a-msi", "fsl,ls1043a-v1.1-msi", "fsl,ls1046a-msi"

reg — required here #

Maximum number of items (maxItems): 1

#msi-cells — not listed as required here #

Exact value (const): 1

interrupts — required here #

Array item rules (items) #

Item 1

Shared MSI interrupt group 0

Item 2

Shared MSI interrupt group 1

Item 3

Shared MSI interrupt group 2

Item 4

Shared MSI interrupt group 3

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "reg", "msi-controller", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): msi-controller.yaml

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,ls1046a-msi"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 4

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

interrupt-controller@1571000 {
    compatible = "fsl,ls1043a-msi";
    reg = <0x1571000 0x8>;
    msi-controller;
    #msi-cells = <1>;
    interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page