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.
16 The controller instances are dual mode where in they can work either in
17 Root Port mode or Endpoint mode but one at a time.
19 See fsl,imx6q-pcie-ep.yaml for details on the Endpoint mode device tree
38 - description: PCIe bridge clock.
39 - description: PCIe bus clock.
40 - description: PCIe PHY clock.
41 - description: Additional required clock entry for imx6sx-pcie,
42 imx6sx-pcie-ep, imx8mq-pcie, imx8mq-pcie-ep.
50 - description: builtin MSI controller.
57 description: Should specify the GPIO for controlling the PCI bus device
58 reset signal. It's not polarity aware and defaults to active-low reset
59 sequence (L=reset state, H=operation state) (optional required).
61 reset-gpio-active-high:
62 description: If present then the reset sequence using the GPIO
63 specified in the "reset-gpio" property is reversed (H=reset state,
64 L=operation state) (optional required).
83 - $ref: /schemas/pci/snps,dw-pcie.yaml#
84 - $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml#
136 - const: pcie_inbound_axi
203 unevaluatedProperties: false
207 #include <dt-bindings/clock/imx6qdl-clock.h>
208 #include <dt-bindings/interrupt-controller/arm-gic.h>
211 compatible = "fsl,imx6q-pcie";
212 reg = <0x01ffc000 0x04000>,
213 <0x01f00000 0x80000>;
214 reg-names = "dbi", "config";
215 #address-cells = <3>;
218 bus-range = <0x00 0xff>;
219 ranges = <0x81000000 0 0 0x01f80000 0 0x00010000>,
220 <0x82000000 0 0x01000000 0x01000000 0 0x00f00000>;
222 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
223 interrupt-names = "msi";
224 #interrupt-cells = <1>;
225 interrupt-map-mask = <0 0 0 0x7>;
226 interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
227 <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
228 <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
229 <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
230 clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
231 <&clks IMX6QDL_CLK_LVDS1_GATE>,
232 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
233 clock-names = "pcie", "pcie_bus", "pcie_phy";