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
28 - description: NOC bus clock
29 - description: Transport layer clock
30 - description: AXI MST0 clock
31 - description: APB clock
42 - description: AXI MST0 reset
43 - description: AXI SLAVE0 reset
44 - description: AXI SLAVE reset
45 - description: PCIE BRIDGE reset
46 - description: PCIE CORE reset
47 - description: PCIE APB reset
59 $ref: /schemas/types.yaml#/definitions/phandle-array
61 The phandle to System Register Controller syscon node.
64 description: GPIO controlled connection to PERST# signal
69 Specified PHY is attached to PCIe controller.
77 unevaluatedProperties: false
81 #include <dt-bindings/gpio/gpio.h>
87 compatible = "starfive,jh7110-pcie";
88 reg = <0x9 0x40000000 0x0 0x10000000>,
89 <0x0 0x2b000000 0x0 0x1000000>;
90 reg-names = "cfg", "apb";
93 #interrupt-cells = <1>;
95 ranges = <0x82000000 0x0 0x30000000 0x0 0x30000000 0x0 0x08000000>,
96 <0xc3000000 0x9 0x00000000 0x9 0x00000000 0x0 0x40000000>;
97 starfive,stg-syscon = <&stg_syscon>;
98 bus-range = <0x0 0xff>;
99 interrupt-parent = <&plic>;
101 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
102 interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc0 0x1>,
103 <0x0 0x0 0x0 0x2 &pcie_intc0 0x2>,
104 <0x0 0x0 0x0 0x3 &pcie_intc0 0x3>,
105 <0x0 0x0 0x0 0x4 &pcie_intc0 0x4>;
107 clocks = <&syscrg 86>,
111 clock-names = "noc", "tl", "axi_mst0", "apb";
112 resets = <&stgcrg 11>,
118 perst-gpios = <&gpios 26 GPIO_ACTIVE_LOW>;
121 pcie_intc0: interrupt-controller {
122 #address-cells = <0>;
123 #interrupt-cells = <1>;
124 interrupt-controller;