DesignWare based PCIe RC/EP controller on Rockchip SoCs
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip-dw-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>", "Simon Xue <xxm@rock-chips.com>", "Heiko Stuebner <heiko@sntech.de>"
Generic properties for the DesignWare based PCIe RC/EP controller on Rockchip SoCs.
Properties and child nodes (properties) #
clocks — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
AHB clock for PCIe master
Item 2
AHB clock for PCIe slave
Item 3
AHB clock for PCIe dbi
Item 4
APB clock for PCIe
Item 5
Auxiliary clock for PCIe
Item 6
PIPE clock
Item 7
Reference clock for PCIe
clock-names — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"aclk_mst"
Item 2
Exact value (
const):"aclk_slv"
Item 3
Exact value (
const):"aclk_dbi"
Item 4
Exact value (
const):"pclk"
Item 5
Exact value (
const):"aux"
Item 6
Exact value (
const):"pipe"
Item 7
Exact value (
const):"ref"
interrupts — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Combined system interrupt, which is used to signal the following interrupts - phy_link_up, dll_link_up, link_req_rst_not, hp_pme, hp, hp_msi, link_auto_bw, link_auto_bw_msi, bw_mgt, bw_mgt_msi, edma_wr, edma_rd, dpa_sub_upd, rbar_update, link_eq_req, ep_elbi_app
Item 2
Combined PM interrupt, which is used to signal the following interrupts - linkst_in_l1sub, linkst_in_l1, linkst_in_l2, linkst_in_l0s, linkst_out_l1sub, linkst_out_l1, linkst_out_l2, linkst_out_l0s, pm_dstate_update
Item 3
Combined message interrupt, which is used to signal the following interrupts - ven_msg, unlock_msg, ltr_msg, cfg_pme, cfg_pme_msi, pm_pme, pm_to_ack, pm_turnoff, obff_idle, obff_obff, obff_cpu_active
Item 4
Combined legacy interrupt, which is used to signal the following interrupts - inta, intb, intc, intd, tx_inta, tx_intb, tx_intc, tx_intd
Item 5
Combined error interrupt, which is used to signal the following interrupts - aer_rc_err, aer_rc_err_msi, rx_cpl_timeout, tx_cpl_timeout, cor_err_sent, nf_err_sent, f_err_sent, cor_err_rx, nf_err_rx, f_err_rx, radm_qoverflow
Item 6
If the matching interrupt name is "msi", then this is the combined MSI line interrupt, which is to support MSI interrupts output to GIC controller via GIC SPI interrupt instead of GIC ITS interrupt. If the matching interrupt name is "dma0", then this is the eDMA write channel 0 interrupt.
Item 7
eDMA write channel 1 interrupt
Item 8
eDMA read channel 0 interrupt
Item 9
eDMA read channel 1 interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"sys"
Item 2
Exact value (
const):"pmc"
Item 3
Exact value (
const):"msg"
Item 4
Exact value (
const):"legacy"
Item 5
Exact value (
const):"err"
Item 6
Item 7
Exact value (
const):"dma1"
Item 8
Exact value (
const):"dma2"
Item 9
Exact value (
const):"dma3"
num-lanes — required here #
true — No constraints added by this property rule.
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Exact value (const): "pcie-phy"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"pipe"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pwr"Item 2
Exact value (
const):"pipe"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "num-lanes", "phys", "phy-names", "power-domains", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)