Socionext UniPhier PCIe host controller

Schema identifier ($id): "http://devicetree.org/schemas/pci/socionext,uniphier-pcie.yaml#"

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

UniPhier PCIe host controller is based on the Synopsys DesignWare PCI core. It shares common features with the PCIe DesignWare core and inherits common properties defined in Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml.

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pci/snps,dw-pcie.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "socionext,uniphier-pcie"

reg — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 4

reg-names — required here #

Minimum number of items (minItems): 3

Array item rules (items) #

Item 1

Exact value (const): "dbi"

Item 2

Exact value (const): "link"

Item 3

Exact value (const): "config"

Item 4

Exact value (const): "atu"

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

num-viewport — not listed as required here #

true — No constraints added by this property rule.

num-lanes — not listed as required here #

true — No constraints added by this property rule.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "pcie-phy"

legacy-interrupt-controller — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 0

interrupt-controller — not listed as required here

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here

Exact value (const): 1

interrupts — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
    gic: interrupt-controller {
        interrupt-controller;
        #interrupt-cells = <3>;
    };
};

pcie: pcie@66000000 {
    compatible = "socionext,uniphier-pcie";
    reg-names = "dbi", "link", "config";
    reg = <0x66000000 0x1000>, <0x66010000 0x10000>, <0x2fff0000 0x10000>;
    #address-cells = <3>;
    #size-cells = <2>;
    clocks = <&sys_clk 24>;
    resets = <&sys_rst 24>;
    num-lanes = <1>;
    num-viewport = <1>;
    bus-range = <0x0 0xff>;
    device_type = "pci";
    ranges = <0x81000000 0 0x00000000  0x2ffe0000  0 0x00010000>,
             <0x82000000 0 0x00000000  0x20000000  0 0x0ffe0000>;
    phy-names = "pcie-phy";
    phys = <&pcie_phy>;
    #interrupt-cells = <1>;
    interrupt-names = "dma", "msi";
    interrupt-parent = <&gic>;
    interrupts = <0 224 4>, <0 225 4>;
    interrupt-map-mask = <0 0 0  7>;
    interrupt-map = <0 0 0  1  &pcie_intc 0>,
                    <0 0 0  2  &pcie_intc 1>,
                    <0 0 0  3  &pcie_intc 2>,
                    <0 0 0  4  &pcie_intc 3>;

    pcie_intc: legacy-interrupt-controller {
        #address-cells = <0>;
        interrupt-controller;
        #interrupt-cells = <1>;
        interrupt-parent = <&gic>;
        interrupts = <0 226 4>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page