145b39e92SKishon Vijay Abraham I# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 245b39e92SKishon Vijay Abraham I# Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 345b39e92SKishon Vijay Abraham I%YAML 1.2 445b39e92SKishon Vijay Abraham I--- 545b39e92SKishon Vijay Abraham I$id: "http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml#" 645b39e92SKishon Vijay Abraham I$schema: "http://devicetree.org/meta-schemas/core.yaml#" 745b39e92SKishon Vijay Abraham I 845b39e92SKishon Vijay Abraham Ititle: TI J721E PCI EP (PCIe Wrapper) 945b39e92SKishon Vijay Abraham I 1045b39e92SKishon Vijay Abraham Imaintainers: 1145b39e92SKishon Vijay Abraham I - Kishon Vijay Abraham I <kishon@ti.com> 1245b39e92SKishon Vijay Abraham I 1345b39e92SKishon Vijay Abraham IallOf: 1445b39e92SKishon Vijay Abraham I - $ref: "cdns-pcie-ep.yaml#" 1545b39e92SKishon Vijay Abraham I 1645b39e92SKishon Vijay Abraham Iproperties: 1745b39e92SKishon Vijay Abraham I compatible: 1817c5b458SKishon Vijay Abraham I oneOf: 19*6b7d5394SKishon Vijay Abraham I - const: ti,j721e-pcie-ep 20*6b7d5394SKishon Vijay Abraham I - description: PCIe EP controller in AM64 21*6b7d5394SKishon Vijay Abraham I items: 22*6b7d5394SKishon Vijay Abraham I - const: ti,am64-pcie-ep 23*6b7d5394SKishon Vijay Abraham I - const: ti,j721e-pcie-ep 2417c5b458SKishon Vijay Abraham I - description: PCIe EP controller in J7200 2517c5b458SKishon Vijay Abraham I items: 2617c5b458SKishon Vijay Abraham I - const: ti,j7200-pcie-ep 2717c5b458SKishon Vijay Abraham I - const: ti,j721e-pcie-ep 2845b39e92SKishon Vijay Abraham I 2945b39e92SKishon Vijay Abraham I reg: 3045b39e92SKishon Vijay Abraham I maxItems: 4 3145b39e92SKishon Vijay Abraham I 3245b39e92SKishon Vijay Abraham I reg-names: 3345b39e92SKishon Vijay Abraham I items: 3445b39e92SKishon Vijay Abraham I - const: intd_cfg 3545b39e92SKishon Vijay Abraham I - const: user_cfg 3645b39e92SKishon Vijay Abraham I - const: reg 3745b39e92SKishon Vijay Abraham I - const: mem 3845b39e92SKishon Vijay Abraham I 3945b39e92SKishon Vijay Abraham I ti,syscon-pcie-ctrl: 40b6c81be9SKishon Vijay Abraham I $ref: /schemas/types.yaml#/definitions/phandle-array 41b6c81be9SKishon Vijay Abraham I items: 42b6c81be9SKishon Vijay Abraham I - items: 43b6c81be9SKishon Vijay Abraham I - description: Phandle to the SYSCON entry 44b6c81be9SKishon Vijay Abraham I - description: pcie_ctrl register offset within SYSCON 45b6c81be9SKishon Vijay Abraham I description: Specifier for configuring PCIe mode and link speed. 4645b39e92SKishon Vijay Abraham I 4745b39e92SKishon Vijay Abraham I power-domains: 4845b39e92SKishon Vijay Abraham I maxItems: 1 4945b39e92SKishon Vijay Abraham I 5045b39e92SKishon Vijay Abraham I clocks: 5145b39e92SKishon Vijay Abraham I maxItems: 1 5245b39e92SKishon Vijay Abraham I description: clock-specifier to represent input to the PCIe 5345b39e92SKishon Vijay Abraham I 5445b39e92SKishon Vijay Abraham I clock-names: 5545b39e92SKishon Vijay Abraham I items: 5645b39e92SKishon Vijay Abraham I - const: fck 5745b39e92SKishon Vijay Abraham I 5845b39e92SKishon Vijay Abraham I dma-coherent: 5945b39e92SKishon Vijay Abraham I description: Indicates that the PCIe IP block can ensure the coherency 6045b39e92SKishon Vijay Abraham I 6145b39e92SKishon Vijay Abraham Irequired: 6245b39e92SKishon Vijay Abraham I - compatible 6345b39e92SKishon Vijay Abraham I - reg 6445b39e92SKishon Vijay Abraham I - reg-names 6545b39e92SKishon Vijay Abraham I - ti,syscon-pcie-ctrl 6645b39e92SKishon Vijay Abraham I - max-link-speed 6745b39e92SKishon Vijay Abraham I - num-lanes 6845b39e92SKishon Vijay Abraham I - power-domains 6945b39e92SKishon Vijay Abraham I - clocks 7045b39e92SKishon Vijay Abraham I - clock-names 7145b39e92SKishon Vijay Abraham I - max-functions 7245b39e92SKishon Vijay Abraham I - phys 7345b39e92SKishon Vijay Abraham I - phy-names 7445b39e92SKishon Vijay Abraham I 756fdc6e23SRob HerringunevaluatedProperties: false 766fdc6e23SRob Herring 7745b39e92SKishon Vijay Abraham Iexamples: 7845b39e92SKishon Vijay Abraham I - | 7945b39e92SKishon Vijay Abraham I #include <dt-bindings/soc/ti,sci_pm_domain.h> 8045b39e92SKishon Vijay Abraham I 8145b39e92SKishon Vijay Abraham I bus { 8245b39e92SKishon Vijay Abraham I #address-cells = <2>; 8345b39e92SKishon Vijay Abraham I #size-cells = <2>; 8445b39e92SKishon Vijay Abraham I 8545b39e92SKishon Vijay Abraham I pcie0_ep: pcie-ep@d000000 { 8645b39e92SKishon Vijay Abraham I compatible = "ti,j721e-pcie-ep"; 8745b39e92SKishon Vijay Abraham I reg = <0x00 0x02900000 0x00 0x1000>, 8845b39e92SKishon Vijay Abraham I <0x00 0x02907000 0x00 0x400>, 8945b39e92SKishon Vijay Abraham I <0x00 0x0d000000 0x00 0x00800000>, 9045b39e92SKishon Vijay Abraham I <0x00 0x10000000 0x00 0x08000000>; 9145b39e92SKishon Vijay Abraham I reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 92b6c81be9SKishon Vijay Abraham I ti,syscon-pcie-ctrl = <&pcie0_ctrl 0x4070>; 9345b39e92SKishon Vijay Abraham I max-link-speed = <3>; 9445b39e92SKishon Vijay Abraham I num-lanes = <2>; 9545b39e92SKishon Vijay Abraham I power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; 9645b39e92SKishon Vijay Abraham I clocks = <&k3_clks 239 1>; 9745b39e92SKishon Vijay Abraham I clock-names = "fck"; 9845b39e92SKishon Vijay Abraham I max-functions = /bits/ 8 <6>; 9945b39e92SKishon Vijay Abraham I dma-coherent; 10045b39e92SKishon Vijay Abraham I phys = <&serdes0_pcie_link>; 10145b39e92SKishon Vijay Abraham I phy-names = "pcie-phy"; 10245b39e92SKishon Vijay Abraham I }; 10345b39e92SKishon Vijay Abraham I }; 104