Documentation / devicetree / bindings / pci / ultrarisc,dp1000-pcie.yaml


Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/ultrarisc,dp1000-pcie.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: UltraRISC DP1000 PCIe Host Controller

description:
  UltraRISC DP1000 SoC PCIe host controller is based on the DesignWare PCIe IP.

maintainers:
  - Xincheng Zhang <zhangxincheng@ultrarisc.com>
  - Jia Wang <wangjia@ultrarisc.com>

allOf:
  - $ref: /schemas/pci/snps,dw-pcie.yaml#

properties:
  compatible:
    const: ultrarisc,dp1000-pcie

  reg:
    items:
      - description: Data Bus Interface (DBI) registers.
      - description: PCIe configuration space region.

  reg-names:
    items:
      - const: dbi
      - const: config

  num-lanes:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [4, 16]
    description: Number of lanes to use.

  interrupts:
    items:
      - description: MSI interrupt
      - description: Legacy INTA interrupt
      - description: Legacy INTB interrupt
      - description: Legacy INTC interrupt
      - description: Legacy INTD interrupt

  interrupt-names:
    items:
      - const: msi
      - const: inta
      - const: intb
      - const: intc
      - const: intd

required:
  - compatible
  - reg
  - reg-names
  - interrupts
  - interrupt-names

unevaluatedProperties: false

examples:
  - |
    soc {
      #address-cells = <2>;
      #size-cells = <2>;
 
      pcie@21000000 {
        compatible = "ultrarisc,dp1000-pcie";
        reg = <0x0 0x21000000 0x0 0x01000000>,
              <0x0 0x4fff0000 0x0 0x00010000>;
        reg-names = "dbi", "config";
        ranges = <0x81000000 0x0 0x4fbf0000 0x0 0x4fbf0000 0x0 0x00400000>,
                 <0x82000000 0x0 0x40000000 0x0 0x40000000 0x0 0x0fbf0000>,
                 <0xc3000000 0x40 0x00000000 0x40 0x00000000 0xd 0x00000000>;
        #address-cells = <3>;
        #size-cells = <2>;
        #interrupt-cells = <1>;
        device_type = "pci";
        dma-coherent;
        bus-range = <0x0 0xff>;
        num-lanes = <16>;
        interrupt-parent = <&plic>;
        interrupts = <43>, <44>, <45>, <46>, <47>;
        interrupt-names = "msi", "inta", "intb", "intc", "intd";
        interrupt-map-mask = <0x0 0x0 0x0 0x7>;
        interrupt-map = <0x0 0x0 0x0 0x1 &plic 44>,
                        <0x0 0x0 0x0 0x2 &plic 45>,
                        <0x0 0x0 0x0 0x3 &plic 46>,
                        <0x0 0x0 0x0 0x4 &plic 47>;
      };
    };