1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: DesignWare based PCIe controller on Rockchip SoCs
10 - Shawn Lin <shawn.lin@rock-chips.com>
11 - Simon Xue <xxm@rock-chips.com>
12 - Heiko Stuebner <heiko@sntech.de>
15 RK3568 SoC PCIe host controller is based on the Synopsys DesignWare
16 PCIe IP and thus inherits all the common properties defined in
20 - $ref: /schemas/pci/snps,dw-pcie.yaml#
25 - const: rockchip,rk3568-pcie
28 - rockchip,rk3588-pcie
29 - const: rockchip,rk3568-pcie
33 - description: Data Bus Interface (DBI) registers
34 - description: Rockchip designed configuration registers
35 - description: Config registers
46 - description: AHB clock for PCIe master
47 - description: AHB clock for PCIe slave
48 - description: AHB clock for PCIe dbi
49 - description: APB clock for PCIe
50 - description: Auxiliary clock for PCIe
51 - description: PIPE clock
52 - description: Reference clock for PCIe
68 Combined system interrupt, which is used to signal the following
69 interrupts - phy_link_up, dll_link_up, link_req_rst_not, hp_pme,
70 hp, hp_msi, link_auto_bw, link_auto_bw_msi, bw_mgt, bw_mgt_msi,
71 edma_wr, edma_rd, dpa_sub_upd, rbar_update, link_eq_req, ep_elbi_app
73 Combined PM interrupt, which is used to signal the following
74 interrupts - linkst_in_l1sub, linkst_in_l1, linkst_in_l2,
75 linkst_in_l0s, linkst_out_l1sub, linkst_out_l1, linkst_out_l2,
76 linkst_out_l0s, pm_dstate_update
78 Combined message interrupt, which is used to signal the following
79 interrupts - ven_msg, unlock_msg, ltr_msg, cfg_pme, cfg_pme_msi,
80 pm_pme, pm_to_ack, pm_turnoff, obff_idle, obff_obff, obff_cpu_active
82 Combined legacy interrupt, which is used to signal the following
83 interrupts - inta, intb, intc, intd
85 Combined error interrupt, which is used to signal the following
86 interrupts - aer_rc_err, aer_rc_err_msi, rx_cpl_timeout,
87 tx_cpl_timeout, cor_err_sent, nf_err_sent, f_err_sent, cor_err_rx,
88 nf_err_rx, f_err_rx, radm_qoverflow
98 legacy-interrupt-controller:
99 description: Interrupt controller node for handling legacy PCI interrupts.
101 additionalProperties: false
109 interrupt-controller: true
113 - description: combined legacy interrupt
117 - interrupt-controller
148 vpcie3v3-supply: true
164 unevaluatedProperties: false
168 #include <dt-bindings/interrupt-controller/arm-gic.h>
171 #address-cells = <2>;
174 pcie3x2: pcie@fe280000 {
175 compatible = "rockchip,rk3568-pcie";
176 reg = <0x3 0xc0800000 0x0 0x390000>,
177 <0x0 0xfe280000 0x0 0x10000>,
178 <0x3 0x80000000 0x0 0x100000>;
179 reg-names = "dbi", "apb", "config";
180 bus-range = <0x20 0x2f>;
181 clocks = <&cru 143>, <&cru 144>,
182 <&cru 145>, <&cru 146>,
184 clock-names = "aclk_mst", "aclk_slv",
188 interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
189 <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
190 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
191 <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
192 <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
193 interrupt-names = "sys", "pmc", "msg", "legacy", "err";
194 linux,pci-domain = <2>;
195 max-link-speed = <2>;
196 msi-map = <0x2000 &its 0x2000 0x1000>;
199 phy-names = "pcie-phy";
200 power-domains = <&power 15>;
201 ranges = <0x81000000 0x0 0x80800000 0x3 0x80800000 0x0 0x100000>,
202 <0x83000000 0x0 0x80900000 0x3 0x80900000 0x0 0x3f700000>;
204 reset-names = "pipe";
205 #address-cells = <3>;
208 legacy-interrupt-controller {
209 interrupt-controller;
210 #address-cells = <0>;
211 #interrupt-cells = <1>;
212 interrupt-parent = <&gic>;
213 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;