xref: /freebsd/sys/contrib/device-tree/Bindings/pci/rockchip-dw-pcie-common.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-common.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: DesignWare based PCIe RC/EP controller on Rockchip SoCs
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Shawn Lin <shawn.lin@rock-chips.com>
11*0e8011faSEmmanuel Vadot  - Simon Xue <xxm@rock-chips.com>
12*0e8011faSEmmanuel Vadot  - Heiko Stuebner <heiko@sntech.de>
13*0e8011faSEmmanuel Vadot
14*0e8011faSEmmanuel Vadotdescription: |+
15*0e8011faSEmmanuel Vadot  Generic properties for the DesignWare based PCIe RC/EP controller on Rockchip
16*0e8011faSEmmanuel Vadot  SoCs.
17*0e8011faSEmmanuel Vadot
18*0e8011faSEmmanuel Vadotproperties:
19*0e8011faSEmmanuel Vadot  clocks:
20*0e8011faSEmmanuel Vadot    minItems: 5
21*0e8011faSEmmanuel Vadot    items:
22*0e8011faSEmmanuel Vadot      - description: AHB clock for PCIe master
23*0e8011faSEmmanuel Vadot      - description: AHB clock for PCIe slave
24*0e8011faSEmmanuel Vadot      - description: AHB clock for PCIe dbi
25*0e8011faSEmmanuel Vadot      - description: APB clock for PCIe
26*0e8011faSEmmanuel Vadot      - description: Auxiliary clock for PCIe
27*0e8011faSEmmanuel Vadot      - description: PIPE clock
28*0e8011faSEmmanuel Vadot      - description: Reference clock for PCIe
29*0e8011faSEmmanuel Vadot
30*0e8011faSEmmanuel Vadot  clock-names:
31*0e8011faSEmmanuel Vadot    minItems: 5
32*0e8011faSEmmanuel Vadot    items:
33*0e8011faSEmmanuel Vadot      - const: aclk_mst
34*0e8011faSEmmanuel Vadot      - const: aclk_slv
35*0e8011faSEmmanuel Vadot      - const: aclk_dbi
36*0e8011faSEmmanuel Vadot      - const: pclk
37*0e8011faSEmmanuel Vadot      - const: aux
38*0e8011faSEmmanuel Vadot      - const: pipe
39*0e8011faSEmmanuel Vadot      - const: ref
40*0e8011faSEmmanuel Vadot
41*0e8011faSEmmanuel Vadot  interrupts:
42*0e8011faSEmmanuel Vadot    minItems: 5
43*0e8011faSEmmanuel Vadot    items:
44*0e8011faSEmmanuel Vadot      - description:
45*0e8011faSEmmanuel Vadot          Combined system interrupt, which is used to signal the following
46*0e8011faSEmmanuel Vadot          interrupts - phy_link_up, dll_link_up, link_req_rst_not, hp_pme,
47*0e8011faSEmmanuel Vadot          hp, hp_msi, link_auto_bw, link_auto_bw_msi, bw_mgt, bw_mgt_msi,
48*0e8011faSEmmanuel Vadot          edma_wr, edma_rd, dpa_sub_upd, rbar_update, link_eq_req, ep_elbi_app
49*0e8011faSEmmanuel Vadot      - description:
50*0e8011faSEmmanuel Vadot          Combined PM interrupt, which is used to signal the following
51*0e8011faSEmmanuel Vadot          interrupts - linkst_in_l1sub, linkst_in_l1, linkst_in_l2,
52*0e8011faSEmmanuel Vadot          linkst_in_l0s, linkst_out_l1sub, linkst_out_l1, linkst_out_l2,
53*0e8011faSEmmanuel Vadot          linkst_out_l0s, pm_dstate_update
54*0e8011faSEmmanuel Vadot      - description:
55*0e8011faSEmmanuel Vadot          Combined message interrupt, which is used to signal the following
56*0e8011faSEmmanuel Vadot          interrupts - ven_msg, unlock_msg, ltr_msg, cfg_pme, cfg_pme_msi,
57*0e8011faSEmmanuel Vadot          pm_pme, pm_to_ack, pm_turnoff, obff_idle, obff_obff, obff_cpu_active
58*0e8011faSEmmanuel Vadot      - description:
59*0e8011faSEmmanuel Vadot          Combined legacy interrupt, which is used to signal the following
60*0e8011faSEmmanuel Vadot          interrupts - inta, intb, intc, intd, tx_inta, tx_intb, tx_intc,
61*0e8011faSEmmanuel Vadot          tx_intd
62*0e8011faSEmmanuel Vadot      - description:
63*0e8011faSEmmanuel Vadot          Combined error interrupt, which is used to signal the following
64*0e8011faSEmmanuel Vadot          interrupts - aer_rc_err, aer_rc_err_msi, rx_cpl_timeout,
65*0e8011faSEmmanuel Vadot          tx_cpl_timeout, cor_err_sent, nf_err_sent, f_err_sent, cor_err_rx,
66*0e8011faSEmmanuel Vadot          nf_err_rx, f_err_rx, radm_qoverflow
67*0e8011faSEmmanuel Vadot      - description:
68*0e8011faSEmmanuel Vadot          eDMA write channel 0 interrupt
69*0e8011faSEmmanuel Vadot      - description:
70*0e8011faSEmmanuel Vadot          eDMA write channel 1 interrupt
71*0e8011faSEmmanuel Vadot      - description:
72*0e8011faSEmmanuel Vadot          eDMA read channel 0 interrupt
73*0e8011faSEmmanuel Vadot      - description:
74*0e8011faSEmmanuel Vadot          eDMA read channel 1 interrupt
75*0e8011faSEmmanuel Vadot
76*0e8011faSEmmanuel Vadot  interrupt-names:
77*0e8011faSEmmanuel Vadot    minItems: 5
78*0e8011faSEmmanuel Vadot    items:
79*0e8011faSEmmanuel Vadot      - const: sys
80*0e8011faSEmmanuel Vadot      - const: pmc
81*0e8011faSEmmanuel Vadot      - const: msg
82*0e8011faSEmmanuel Vadot      - const: legacy
83*0e8011faSEmmanuel Vadot      - const: err
84*0e8011faSEmmanuel Vadot      - const: dma0
85*0e8011faSEmmanuel Vadot      - const: dma1
86*0e8011faSEmmanuel Vadot      - const: dma2
87*0e8011faSEmmanuel Vadot      - const: dma3
88*0e8011faSEmmanuel Vadot
89*0e8011faSEmmanuel Vadot  num-lanes: true
90*0e8011faSEmmanuel Vadot
91*0e8011faSEmmanuel Vadot  phys:
92*0e8011faSEmmanuel Vadot    maxItems: 1
93*0e8011faSEmmanuel Vadot
94*0e8011faSEmmanuel Vadot  phy-names:
95*0e8011faSEmmanuel Vadot    const: pcie-phy
96*0e8011faSEmmanuel Vadot
97*0e8011faSEmmanuel Vadot  power-domains:
98*0e8011faSEmmanuel Vadot    maxItems: 1
99*0e8011faSEmmanuel Vadot
100*0e8011faSEmmanuel Vadot  resets:
101*0e8011faSEmmanuel Vadot    minItems: 1
102*0e8011faSEmmanuel Vadot    maxItems: 2
103*0e8011faSEmmanuel Vadot
104*0e8011faSEmmanuel Vadot  reset-names:
105*0e8011faSEmmanuel Vadot    oneOf:
106*0e8011faSEmmanuel Vadot      - const: pipe
107*0e8011faSEmmanuel Vadot      - items:
108*0e8011faSEmmanuel Vadot          - const: pwr
109*0e8011faSEmmanuel Vadot          - const: pipe
110*0e8011faSEmmanuel Vadot
111*0e8011faSEmmanuel Vadotrequired:
112*0e8011faSEmmanuel Vadot  - compatible
113*0e8011faSEmmanuel Vadot  - reg
114*0e8011faSEmmanuel Vadot  - reg-names
115*0e8011faSEmmanuel Vadot  - clocks
116*0e8011faSEmmanuel Vadot  - clock-names
117*0e8011faSEmmanuel Vadot  - num-lanes
118*0e8011faSEmmanuel Vadot  - phys
119*0e8011faSEmmanuel Vadot  - phy-names
120*0e8011faSEmmanuel Vadot  - power-domains
121*0e8011faSEmmanuel Vadot  - resets
122*0e8011faSEmmanuel Vadot  - reset-names
123*0e8011faSEmmanuel Vadot
124*0e8011faSEmmanuel VadotadditionalProperties: true
125*0e8011faSEmmanuel Vadot
126*0e8011faSEmmanuel Vadot...
127