1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale i.MX6 PCIe host controller
10 - Lucas Stach <l.stach@pengutronix.de>
11 - Richard Zhu <hongxing.zhu@nxp.com>
14 This PCIe host controller is based on the Synopsys DesignWare PCIe IP
15 and thus inherits all the common properties defined in snps,dw-pcie.yaml.
28 - description: Data Bus Interface (DBI) registers.
29 - description: PCIe configuration space region.
38 - description: builtin MSI controller.
47 - description: PCIe bridge clock.
48 - description: PCIe bus clock.
49 - description: PCIe PHY clock.
50 - description: Additional required clock entry for imx6sx-pcie,
59 - enum: [ pcie_inbound_axi, pcie_aux ]
65 $ref: /schemas/types.yaml#/definitions/phandle
66 description: A phandle to an fsl,imx7d-pcie-phy node. Additional
67 required properties for imx7d-pcie and imx8mq-pcie.
71 - description: The phandle pointing to the DISPLAY domain for
72 imx6sx-pcie, to PCIE_PHY power domain for imx7d-pcie and
74 - description: The phandle pointing to the PCIE_PHY power domains
84 description: Phandles to PCIe-related reset lines exposed by SRC
85 IP block. Additional required by imx7d-pcie and imx8mq-pcie.
94 description: Gen1 De-emphasis value (optional required).
95 $ref: /schemas/types.yaml#/definitions/uint32
98 fsl,tx-deemph-gen2-3p5db:
99 description: Gen2 (3.5db) De-emphasis value (optional required).
100 $ref: /schemas/types.yaml#/definitions/uint32
103 fsl,tx-deemph-gen2-6db:
104 description: Gen2 (6db) De-emphasis value (optional required).
105 $ref: /schemas/types.yaml#/definitions/uint32
109 description: Gen2 TX SWING FULL value (optional required).
110 $ref: /schemas/types.yaml#/definitions/uint32
114 description: TX launch amplitude swing_low value (optional required).
115 $ref: /schemas/types.yaml#/definitions/uint32
119 description: Specify PCI Gen for link capability (optional required).
120 Note that the IMX6 LVDS clock outputs do not meet gen2 jitter
121 requirements and thus for gen2 capability a gen2 compliant clock
122 generator should be used and configured.
123 $ref: /schemas/types.yaml#/definitions/uint32
128 description: Should specify the GPIO for controlling the PCI bus device
129 reset signal. It's not polarity aware and defaults to active-low reset
130 sequence (L=reset state, H=operation state) (optional required).
132 reset-gpio-active-high:
133 description: If present then the reset sequence using the GPIO
134 specified in the "reset-gpio" property is reversed (H=reset state,
135 L=operation state) (optional required).
138 description: Should specify the regulator in charge of PCIe port power.
139 The regulator will be enabled when initializing the PCIe host and
140 disabled either as part of the init process or when shutting down
141 the host (optional required).
144 description: Should specify the regulator in charge of VPH one of
145 the three PCIe PHY powers. This regulator can be supplied by both
146 1.8v and 3.3v voltage supplies (optional required).
167 - $ref: /schemas/pci/snps,dw-pcie.yaml#
172 const: fsl,imx6sx-pcie
180 - const: pcie_inbound_axi
185 const: fsl,imx8mq-pcie
207 unevaluatedProperties: false
211 #include <dt-bindings/clock/imx6qdl-clock.h>
212 #include <dt-bindings/interrupt-controller/arm-gic.h>
215 compatible = "fsl,imx6q-pcie";
216 reg = <0x01ffc000 0x04000>,
217 <0x01f00000 0x80000>;
218 reg-names = "dbi", "config";
219 #address-cells = <3>;
222 bus-range = <0x00 0xff>;
223 ranges = <0x81000000 0 0 0x01f80000 0 0x00010000>,
224 <0x82000000 0 0x01000000 0x01000000 0 0x00f00000>;
226 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
227 interrupt-names = "msi";
228 #interrupt-cells = <1>;
229 interrupt-map-mask = <0 0 0 0x7>;
230 interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
231 <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
232 <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
233 <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
234 clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
235 <&clks IMX6QDL_CLK_LVDS1_GATE>,
236 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
237 clock-names = "pcie", "pcie_bus", "pcie_phy";