1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
5 $id: http://devicetree.org/schemas/pci/ti,j721e-pci-host.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: TI J721E PCI Host (PCIe Wrapper)
11 - Kishon Vijay Abraham I <kishon@ti.com>
16 - const: ti,j721e-pcie-host
17 - const: ti,j784s4-pcie-host
18 - description: PCIe controller in AM64
20 - const: ti,am64-pcie-host
21 - const: ti,j721e-pcie-host
22 - description: PCIe controller in J7200
24 - const: ti,j7200-pcie-host
25 - const: ti,j721e-pcie-host
38 $ref: /schemas/types.yaml#/definitions/phandle-array
41 - description: Phandle to the SYSCON entry
42 - description: pcie_ctrl register offset within SYSCON
43 description: Specifier for configuring PCIe mode and link speed.
52 clock-specifier to represent input to the PCIe for 1 item.
53 2nd item if present represents reference clock to the connector.
84 additionalProperties: false
87 interrupt-controller: true
96 - $ref: cdns-pcie-host.yaml#
123 - ti,j784s4-pcie-host
134 - ti,syscon-pcie-ctrl
149 unevaluatedProperties: false
153 #include <dt-bindings/soc/ti,sci_pm_domain.h>
154 #include <dt-bindings/gpio/gpio.h>
157 #address-cells = <2>;
160 pcie0_rc: pcie@2900000 {
161 compatible = "ti,j721e-pcie-host";
162 reg = <0x00 0x02900000 0x00 0x1000>,
163 <0x00 0x02907000 0x00 0x400>,
164 <0x00 0x0d000000 0x00 0x00800000>,
165 <0x00 0x10000000 0x00 0x00001000>;
166 reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
167 ti,syscon-pcie-ctrl = <&pcie0_ctrl 0x4070>;
168 max-link-speed = <3>;
170 power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>;
171 clocks = <&k3_clks 239 1>;
174 #address-cells = <3>;
176 bus-range = <0x0 0xf>;
177 vendor-id = <0x104c>;
178 device-id = <0xb00d>;
179 msi-map = <0x0 &gic_its 0x0 0x10000>;
181 reset-gpios = <&exp1 6 GPIO_ACTIVE_HIGH>;
182 phys = <&serdes0_pcie_link>;
183 phy-names = "pcie-phy";
184 ranges = <0x01000000 0x0 0x10001000 0x00 0x10001000 0x0 0x0010000>,
185 <0x02000000 0x0 0x10011000 0x00 0x10011000 0x0 0x7fef000>;
186 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>;