15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT 25f62a964SEmmanuel Vadot/** 35f62a964SEmmanuel Vadot * DT Overlay for enabling PCIE1 instance in Endpoint Configuration with the 45f62a964SEmmanuel Vadot * J7 common processor board. 55f62a964SEmmanuel Vadot * 65f62a964SEmmanuel Vadot * J7 Common Processor Board Product Link: https://www.ti.com/tool/J721EXCPXEVM 75f62a964SEmmanuel Vadot * 85f62a964SEmmanuel Vadot * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/ 95f62a964SEmmanuel Vadot */ 105f62a964SEmmanuel Vadot 115f62a964SEmmanuel Vadot/dts-v1/; 125f62a964SEmmanuel Vadot/plugin/; 135f62a964SEmmanuel Vadot 145f62a964SEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 155f62a964SEmmanuel Vadot#include <dt-bindings/soc/ti,sci_pm_domain.h> 165f62a964SEmmanuel Vadot 175f62a964SEmmanuel Vadot#include "k3-pinctrl.h" 185f62a964SEmmanuel Vadot 195f62a964SEmmanuel Vadot/* 205f62a964SEmmanuel Vadot * Since Root Complex and Endpoint modes are mutually exclusive 215f62a964SEmmanuel Vadot * disable Root Complex mode. 225f62a964SEmmanuel Vadot */ 235f62a964SEmmanuel Vadot&pcie1_rc { 245f62a964SEmmanuel Vadot status = "disabled"; 255f62a964SEmmanuel Vadot}; 265f62a964SEmmanuel Vadot 275f62a964SEmmanuel Vadot&cbass_main { 285f62a964SEmmanuel Vadot #address-cells = <2>; 295f62a964SEmmanuel Vadot #size-cells = <2>; 305f62a964SEmmanuel Vadot interrupt-parent = <&gic500>; 315f62a964SEmmanuel Vadot 325f62a964SEmmanuel Vadot pcie1_ep: pcie-ep@2910000 { 335f62a964SEmmanuel Vadot compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep"; 345f62a964SEmmanuel Vadot reg = <0x00 0x02910000 0x00 0x1000>, 355f62a964SEmmanuel Vadot <0x00 0x02917000 0x00 0x400>, 365f62a964SEmmanuel Vadot <0x00 0x0d800000 0x00 0x00800000>, 375f62a964SEmmanuel Vadot <0x00 0x18000000 0x00 0x08000000>; 385f62a964SEmmanuel Vadot reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 395f62a964SEmmanuel Vadot interrupt-names = "link_state"; 405f62a964SEmmanuel Vadot interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; 415f62a964SEmmanuel Vadot max-link-speed = <3>; 425f62a964SEmmanuel Vadot num-lanes = <2>; 435f62a964SEmmanuel Vadot power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; 445f62a964SEmmanuel Vadot clocks = <&k3_clks 240 6>; 455f62a964SEmmanuel Vadot clock-names = "fck"; 465f62a964SEmmanuel Vadot max-functions = /bits/ 8 <6>; 475f62a964SEmmanuel Vadot max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 485f62a964SEmmanuel Vadot dma-coherent; 495f62a964SEmmanuel Vadot phys = <&serdes0_pcie_link>; 505f62a964SEmmanuel Vadot phy-names = "pcie-phy"; 51*ae5de77eSEmmanuel Vadot ti,syscon-pcie-ctrl = <&pcie1_ctrl 0x0>; 525f62a964SEmmanuel Vadot }; 535f62a964SEmmanuel Vadot}; 54