Freescale i.MX6 PCIe RC/EP controller
Schema identifier ($id): "http://devicetree.org/schemas/pci/fsl,imx6q-pcie-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lucas Stach <l.stach@pengutronix.de>", "Richard Zhu <hongxing.zhu@nxp.com>"
Generic Freescale i.MX PCIe Root Port and Endpoint controller properties.
Properties and child nodes (properties) #
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 5
num-lanes — required here #
Exact value (const): 1
fsl,imx7d-pcie-phy — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to an fsl,imx7d-pcie-phy node. Additional required properties for imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie, and imx8mq-pcie-ep.
power-domains — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
The phandle pointing to the DISPLAY domain for imx6sx-pcie, imx6sx-pcie-ep, to PCIE_PHY power domain for imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie and imx8mq-pcie-ep.
Item 2
The phandle pointing to the PCIE_PHY power domains for imx6sx-pcie and imx6sx-pcie-ep.
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_phy"
resets — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
Phandles to PCIe-related reset lines exposed by SRC IP block. Additional required by imx7d-pcie, imx7d-pcie-ep, imx8mq-pcie, and imx8mq-pcie-ep.
reset-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
fsl,tx-deemph-gen1 — not listed as required here #
Gen1 De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2-3p5db — not listed as required here #
Gen2 (3.5db) De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
fsl,tx-deemph-gen2-6db — not listed as required here #
Gen2 (6db) De-emphasis value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 20
fsl,tx-swing-full — not listed as required here #
Gen2 TX SWING FULL value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 127
fsl,tx-swing-low — not listed as required here #
TX launch amplitude swing_low value (optional required).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 127
fsl,max-link-speed — not listed as required here #
Specify PCI Gen for link capability (optional required). Note that the IMX6 LVDS clock outputs do not meet gen2 jitter requirements and thus for gen2 capability a gen2 compliant clock generator should be used and configured.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4
Default value (default): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie-phy"
vpcie-supply — not listed as required here #
Should specify the regulator in charge of PCIe port power. The regulator will be enabled when initializing the PCIe host and disabled either as part of the init process or when shutting down the host (optional required).
vph-supply — not listed as required here #
Should specify the regulator in charge of VPH one of the three PCIe PHY powers. This regulator can be supplied by both 1.8v and 3.3v voltage supplies (optional required).
Required in this object (required): "clocks", "clock-names", "num-lanes"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6sx-pcie","fsl,imx6sx-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_inbound_axi"
power-domains— not listed as required hereMinimum number of items (
minItems):2
power-domain-names— not listed as required hereMinimum number of items (
minItems):2
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mq-pcie","fsl,imx8mq-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
This rule adds no constraints.
Item 2
This rule adds no constraints.
Item 3
Exact value (
const):"pcie_phy"Item 4
Exact value (
const):"pcie_aux"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep","fsl,imx7d-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMaximum number of items (
maxItems):3Rule for matching array elements (
contains)Exact value (
const):"pcie_phy"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mm-pcie","fsl,imx8mp-pcie","fsl,imx8mm-pcie-ep","fsl,imx8mp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMaximum number of items (
maxItems):3Rule for matching array elements (
contains)Exact value (
const):"pcie_aux"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
power-domain-names— not listed as required here
false— Not permitted by this property rule.
Rule 6 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6sx-pcie","fsl,imx6q-pcie","fsl,imx6qp-pcie","fsl,imx95-pcie","fsl,imx6sx-pcie-ep","fsl,imx6q-pcie-ep","fsl,imx6qp-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMaximum number of items (
maxItems):1
power-domain-names— not listed as required here
false— Not permitted by this property rule.
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx6q-pcie","fsl,imx6sx-pcie","fsl,imx6qp-pcie","fsl,imx7d-pcie","fsl,imx8mq-pcie","fsl,imx6q-pcie-ep","fsl,imx6sx-pcie-ep","fsl,imx6qp-pcie-ep","fsl,imx7d-pcie-ep","fsl,imx8mq-pcie-ep"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pciephy"Item 2
Exact value (
const):"apps"Item 3
Exact value (
const):"turnoff"When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):2
reset-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"apps"Item 2
Exact value (
const):"turnoff"
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)