1*45b39e92SKishon Vijay Abraham I# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*45b39e92SKishon Vijay Abraham I# Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 3*45b39e92SKishon Vijay Abraham I%YAML 1.2 4*45b39e92SKishon Vijay Abraham I--- 5*45b39e92SKishon Vijay Abraham I$id: "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#" 6*45b39e92SKishon Vijay Abraham I$schema: "http://devicetree.org/meta-schemas/core.yaml#" 7*45b39e92SKishon Vijay Abraham I 8*45b39e92SKishon Vijay Abraham Ititle: TI J721E PCI EP (PCIe Wrapper) 9*45b39e92SKishon Vijay Abraham I 10*45b39e92SKishon Vijay Abraham Imaintainers: 11*45b39e92SKishon Vijay Abraham I - Kishon Vijay Abraham I <kishon@ti.com> 12*45b39e92SKishon Vijay Abraham I 13*45b39e92SKishon Vijay Abraham IallOf: 14*45b39e92SKishon Vijay Abraham I - $ref: "cdns-pcie-ep.yaml#" 15*45b39e92SKishon Vijay Abraham I 16*45b39e92SKishon Vijay Abraham Iproperties: 17*45b39e92SKishon Vijay Abraham I compatible: 18*45b39e92SKishon Vijay Abraham I enum: 19*45b39e92SKishon Vijay Abraham I - ti,j721e-pcie-ep 20*45b39e92SKishon Vijay Abraham I 21*45b39e92SKishon Vijay Abraham I reg: 22*45b39e92SKishon Vijay Abraham I maxItems: 4 23*45b39e92SKishon Vijay Abraham I 24*45b39e92SKishon Vijay Abraham I reg-names: 25*45b39e92SKishon Vijay Abraham I items: 26*45b39e92SKishon Vijay Abraham I - const: intd_cfg 27*45b39e92SKishon Vijay Abraham I - const: user_cfg 28*45b39e92SKishon Vijay Abraham I - const: reg 29*45b39e92SKishon Vijay Abraham I - const: mem 30*45b39e92SKishon Vijay Abraham I 31*45b39e92SKishon Vijay Abraham I ti,syscon-pcie-ctrl: 32*45b39e92SKishon Vijay Abraham I description: Phandle to the SYSCON entry required for configuring PCIe mode 33*45b39e92SKishon Vijay Abraham I and link speed. 34*45b39e92SKishon Vijay Abraham I allOf: 35*45b39e92SKishon Vijay Abraham I - $ref: /schemas/types.yaml#/definitions/phandle 36*45b39e92SKishon Vijay Abraham I 37*45b39e92SKishon Vijay Abraham I power-domains: 38*45b39e92SKishon Vijay Abraham I maxItems: 1 39*45b39e92SKishon Vijay Abraham I 40*45b39e92SKishon Vijay Abraham I clocks: 41*45b39e92SKishon Vijay Abraham I maxItems: 1 42*45b39e92SKishon Vijay Abraham I description: clock-specifier to represent input to the PCIe 43*45b39e92SKishon Vijay Abraham I 44*45b39e92SKishon Vijay Abraham I clock-names: 45*45b39e92SKishon Vijay Abraham I items: 46*45b39e92SKishon Vijay Abraham I - const: fck 47*45b39e92SKishon Vijay Abraham I 48*45b39e92SKishon Vijay Abraham I dma-coherent: 49*45b39e92SKishon Vijay Abraham I description: Indicates that the PCIe IP block can ensure the coherency 50*45b39e92SKishon Vijay Abraham I 51*45b39e92SKishon Vijay Abraham Irequired: 52*45b39e92SKishon Vijay Abraham I - compatible 53*45b39e92SKishon Vijay Abraham I - reg 54*45b39e92SKishon Vijay Abraham I - reg-names 55*45b39e92SKishon Vijay Abraham I - ti,syscon-pcie-ctrl 56*45b39e92SKishon Vijay Abraham I - max-link-speed 57*45b39e92SKishon Vijay Abraham I - num-lanes 58*45b39e92SKishon Vijay Abraham I - power-domains 59*45b39e92SKishon Vijay Abraham I - clocks 60*45b39e92SKishon Vijay Abraham I - clock-names 61*45b39e92SKishon Vijay Abraham I - cdns,max-outbound-regions 62*45b39e92SKishon Vijay Abraham I - dma-coherent 63*45b39e92SKishon Vijay Abraham I - max-functions 64*45b39e92SKishon Vijay Abraham I - phys 65*45b39e92SKishon Vijay Abraham I - phy-names 66*45b39e92SKishon Vijay Abraham I 67*45b39e92SKishon Vijay Abraham Iexamples: 68*45b39e92SKishon Vijay Abraham I - | 69*45b39e92SKishon Vijay Abraham I #include <dt-bindings/soc/ti,sci_pm_domain.h> 70*45b39e92SKishon Vijay Abraham I 71*45b39e92SKishon Vijay Abraham I bus { 72*45b39e92SKishon Vijay Abraham I #address-cells = <2>; 73*45b39e92SKishon Vijay Abraham I #size-cells = <2>; 74*45b39e92SKishon Vijay Abraham I 75*45b39e92SKishon Vijay Abraham I pcie0_ep: pcie-ep@d000000 { 76*45b39e92SKishon Vijay Abraham I compatible = "ti,j721e-pcie-ep"; 77*45b39e92SKishon Vijay Abraham I reg = <0x00 0x02900000 0x00 0x1000>, 78*45b39e92SKishon Vijay Abraham I <0x00 0x02907000 0x00 0x400>, 79*45b39e92SKishon Vijay Abraham I <0x00 0x0d000000 0x00 0x00800000>, 80*45b39e92SKishon Vijay Abraham I <0x00 0x10000000 0x00 0x08000000>; 81*45b39e92SKishon Vijay Abraham I reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 82*45b39e92SKishon Vijay Abraham I ti,syscon-pcie-ctrl = <&pcie0_ctrl>; 83*45b39e92SKishon Vijay Abraham I max-link-speed = <3>; 84*45b39e92SKishon Vijay Abraham I num-lanes = <2>; 85*45b39e92SKishon Vijay Abraham I power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; 86*45b39e92SKishon Vijay Abraham I clocks = <&k3_clks 239 1>; 87*45b39e92SKishon Vijay Abraham I clock-names = "fck"; 88*45b39e92SKishon Vijay Abraham I cdns,max-outbound-regions = <16>; 89*45b39e92SKishon Vijay Abraham I max-functions = /bits/ 8 <6>; 90*45b39e92SKishon Vijay Abraham I dma-coherent; 91*45b39e92SKishon Vijay Abraham I phys = <&serdes0_pcie_link>; 92*45b39e92SKishon Vijay Abraham I phy-names = "pcie-phy"; 93*45b39e92SKishon Vijay Abraham I }; 94*45b39e92SKishon Vijay Abraham I }; 95