Toshiba Visconti5 SoC PCIe Host Controller

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

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

Maintainers (maintainers): "Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>"

Toshiba Visconti5 SoC PCIe host controller is based on the Synopsys DesignWare PCIe IP.

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 — not listed as required here #

Exact value (const): "toshiba,visconti-pcie"

reg — required here #

Array item rules (items) #

Item 1

Data Bus Interface (DBI) registers.

Item 2

PCIe configuration space region.

Item 3

Visconti specific additional registers.

Item 4

Visconti specific SMU registers

Item 5

Visconti specific memory protection unit registers (MPU)

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dbi"

Item 2

Exact value (const): "config"

Item 3

Exact value (const): "ulreg"

Item 4

Exact value (const): "smu"

Item 5

Exact value (const): "mpu"

interrupts — required here #

Maximum number of items (maxItems): 2

clocks — required here #

Array item rules (items) #

Item 1

PCIe reference clock

Item 2

PCIe system clock

Item 3

Auxiliary clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "core"

Item 3

Exact value (const): "aux"

num-lanes — required here #

Exact value (const): 2

Required in this object (required): "reg", "reg-names", "interrupts", "#interrupt-cells", "interrupt-map", "interrupt-map-mask", "num-lanes", "clocks", "clock-names", "max-link-speed"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    pcie: pcie@28400000 {
        compatible = "toshiba,visconti-pcie";
        reg = <0x0 0x28400000 0x0 0x00400000>,
              <0x0 0x70000000 0x0 0x10000000>,
              <0x0 0x28050000 0x0 0x00010000>,
              <0x0 0x24200000 0x0 0x00002000>,
              <0x0 0x24162000 0x0 0x00001000>;
        reg-names = "dbi", "config", "ulreg", "smu", "mpu";
        device_type = "pci";
        bus-range = <0x00 0xff>;
        num-lanes = <2>;
        num-viewport = <8>;

        #address-cells = <3>;
        #size-cells = <2>;
        #interrupt-cells = <1>;
        ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000>,
                 <0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
        interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = "msi", "intr";
        interrupt-map-mask = <0 0 0 7>;
        interrupt-map =
            <0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
             0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
             0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
             0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&extclk100mhz>, <&clk600mhz>, <&clk25mhz>;
        clock-names = "ref", "core", "aux";
        max-link-speed = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page