12846c905SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT 22846c905SEmmanuel Vadot/** 32846c905SEmmanuel Vadot * DT Overlay for enabling PCIE1 instance in Endpoint Configuration with the 42846c905SEmmanuel Vadot * J7 common processor board. 52846c905SEmmanuel Vadot * 62846c905SEmmanuel Vadot * J7 Common Processor Board Product Link: https://www.ti.com/tool/J721EXCPXEVM 72846c905SEmmanuel Vadot * 82846c905SEmmanuel Vadot * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ 92846c905SEmmanuel Vadot */ 102846c905SEmmanuel Vadot 112846c905SEmmanuel Vadot/dts-v1/; 122846c905SEmmanuel Vadot/plugin/; 132846c905SEmmanuel Vadot 142846c905SEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 152846c905SEmmanuel Vadot#include <dt-bindings/soc/ti,sci_pm_domain.h> 162846c905SEmmanuel Vadot 172846c905SEmmanuel Vadot#include "k3-pinctrl.h" 182846c905SEmmanuel Vadot 192846c905SEmmanuel Vadot/* 202846c905SEmmanuel Vadot * Since Root Complex and Endpoint modes are mutually exclusive 212846c905SEmmanuel Vadot * disable Root Complex mode. 222846c905SEmmanuel Vadot */ 232846c905SEmmanuel Vadot&pcie1_rc { 242846c905SEmmanuel Vadot status = "disabled"; 252846c905SEmmanuel Vadot}; 262846c905SEmmanuel Vadot 272846c905SEmmanuel Vadot&cbass_main { 282846c905SEmmanuel Vadot #address-cells = <2>; 292846c905SEmmanuel Vadot #size-cells = <2>; 302846c905SEmmanuel Vadot interrupt-parent = <&gic500>; 312846c905SEmmanuel Vadot 322846c905SEmmanuel Vadot pcie1_ep: pcie-ep@2910000 { 332846c905SEmmanuel Vadot compatible = "ti,j721e-pcie-ep"; 342846c905SEmmanuel Vadot reg = <0x00 0x02910000 0x00 0x1000>, 352846c905SEmmanuel Vadot <0x00 0x02917000 0x00 0x400>, 362846c905SEmmanuel Vadot <0x00 0x0d800000 0x00 0x00800000>, 372846c905SEmmanuel Vadot <0x00 0x18000000 0x00 0x08000000>; 382846c905SEmmanuel Vadot reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 392846c905SEmmanuel Vadot interrupt-names = "link_state"; 402846c905SEmmanuel Vadot interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; 412846c905SEmmanuel Vadot max-link-speed = <3>; 422846c905SEmmanuel Vadot num-lanes = <2>; 432846c905SEmmanuel Vadot power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; 442846c905SEmmanuel Vadot clocks = <&k3_clks 240 1>; 452846c905SEmmanuel Vadot clock-names = "fck"; 462846c905SEmmanuel Vadot max-functions = /bits/ 8 <6>; 472846c905SEmmanuel Vadot max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 482846c905SEmmanuel Vadot dma-coherent; 492846c905SEmmanuel Vadot phys = <&serdes1_pcie_link>; 502846c905SEmmanuel Vadot phy-names = "pcie-phy"; 51*ae5de77eSEmmanuel Vadot ti,syscon-pcie-ctrl = <&pcie1_ctrl 0x0>; 522846c905SEmmanuel Vadot }; 532846c905SEmmanuel Vadot}; 54