Socionext UniPhier PCIe endpoint controller

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

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

UniPhier PCIe endpoint 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-ep.yaml.

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

Properties and child nodes (properties) #

compatible — required here #

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

reg — required here #

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 5

reg-names — required here #

Minimum number of items (minItems): 4

Array item rules (items) #

Item 1

Exact value (const): "dbi"

Item 2

Exact value (const): "dbi2"

Item 3

Exact value (const): "link"

Item 4

Exact value (const): "addr_space"

Item 5

Exact value (const): "atu"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

num-ib-windows — not listed as required here #

Exact value (const): 16

num-ob-windows — not listed as required here #

Exact value (const): 16

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"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pro5-pcie-ep"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 4

reg-names — not listed as required here

Maximum number of items (maxItems): 4

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gio"

Item 2

Exact value (const): "link"

resets — not listed as required here

Minimum number of items (minItems): 2

reset-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "gio"

Item 2

Exact value (const): "link"

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 5

reg-names — not listed as required here

Minimum number of items (minItems): 5

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Exact value (const): "link"

resets — not listed as required here

Maximum number of items (maxItems): 1

reset-names — not listed as required here

Exact value (const): "link"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

pcie_ep: pcie-ep@66000000 {
    compatible = "socionext,uniphier-pro5-pcie-ep";
    reg-names = "dbi", "dbi2", "link", "addr_space";
    reg = <0x66000000 0x1000>, <0x66001000 0x1000>,
          <0x66010000 0x10000>, <0x67000000 0x400000>;
    clock-names = "gio", "link";
    clocks = <&sys_clk 12>, <&sys_clk 24>;
    reset-names = "gio", "link";
    resets = <&sys_rst 12>, <&sys_rst 24>;
    num-ib-windows = <16>;
    num-ob-windows = <16>;
    num-lanes = <4>;
    phy-names = "pcie-phy";
    phys = <&pcie_phy>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page