1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive JH7110 PCIe host controller
10 - Kevin Xie <kevin.xie@starfivetech.com>
13 - $ref: plda,xpressrich3-axi-common.yaml#
17 const: starfive,jh7110-pcie
21 - description: NOC bus clock
22 - description: Transport layer clock
23 - description: AXI MST0 clock
24 - description: APB clock
35 - description: AXI MST0 reset
36 - description: AXI SLAVE0 reset
37 - description: AXI SLAVE reset
38 - description: PCIE BRIDGE reset
39 - description: PCIE CORE reset
40 - description: PCIE APB reset
52 $ref: /schemas/types.yaml#/definitions/phandle-array
54 The phandle to System Register Controller syscon node.
57 description: GPIO controlled connection to PERST# signal
62 Specified PHY is attached to PCIe controller.
70 unevaluatedProperties: false
74 #include <dt-bindings/gpio/gpio.h>
80 compatible = "starfive,jh7110-pcie";
81 reg = <0x9 0x40000000 0x0 0x10000000>,
82 <0x0 0x2b000000 0x0 0x1000000>;
83 reg-names = "cfg", "apb";
86 #interrupt-cells = <1>;
88 ranges = <0x82000000 0x0 0x30000000 0x0 0x30000000 0x0 0x08000000>,
89 <0xc3000000 0x9 0x00000000 0x9 0x00000000 0x0 0x40000000>;
90 starfive,stg-syscon = <&stg_syscon>;
91 bus-range = <0x0 0xff>;
92 interrupt-parent = <&plic>;
94 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
95 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc0 0x1>,
96 <0x0 0x0 0x0 0x2 &pcie_intc0 0x2>,
97 <0x0 0x0 0x0 0x3 &pcie_intc0 0x3>,
98 <0x0 0x0 0x0 0x4 &pcie_intc0 0x4>;
100 clocks = <&syscrg 86>,
104 clock-names = "noc", "tl", "axi_mst0", "apb";
105 resets = <&stgcrg 11>,
111 perst-gpios = <&gpios 26 GPIO_ACTIVE_LOW>;
114 pcie_intc0: interrupt-controller {
115 #address-cells = <0>;
116 #interrupt-cells = <1>;
117 interrupt-controller;