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--- 5*f5501623SRob Herring$id: http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml# 6*f5501623SRob Herring$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: 14*f5501623SRob Herring - $ref: cdns-pcie-ep.yaml# 1545b39e92SKishon Vijay Abraham I 1645b39e92SKishon Vijay Abraham Iproperties: 1745b39e92SKishon Vijay Abraham I compatible: 1817c5b458SKishon Vijay Abraham I oneOf: 196b7d5394SKishon Vijay Abraham I - const: ti,j721e-pcie-ep 206b7d5394SKishon Vijay Abraham I - description: PCIe EP controller in AM64 216b7d5394SKishon Vijay Abraham I items: 226b7d5394SKishon Vijay Abraham I - const: ti,am64-pcie-ep 236b7d5394SKishon 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 61598418e6SMatt Ranostay interrupts: 62598418e6SMatt Ranostay maxItems: 1 63598418e6SMatt Ranostay 64598418e6SMatt Ranostay interrupt-names: 65598418e6SMatt Ranostay items: 66598418e6SMatt Ranostay - const: link_state 67598418e6SMatt Ranostay 6845b39e92SKishon Vijay Abraham Irequired: 6945b39e92SKishon Vijay Abraham I - compatible 7045b39e92SKishon Vijay Abraham I - reg 7145b39e92SKishon Vijay Abraham I - reg-names 7245b39e92SKishon Vijay Abraham I - ti,syscon-pcie-ctrl 7345b39e92SKishon Vijay Abraham I - max-link-speed 7445b39e92SKishon Vijay Abraham I - num-lanes 7545b39e92SKishon Vijay Abraham I - power-domains 7645b39e92SKishon Vijay Abraham I - clocks 7745b39e92SKishon Vijay Abraham I - clock-names 7845b39e92SKishon Vijay Abraham I - max-functions 7945b39e92SKishon Vijay Abraham I - phys 8045b39e92SKishon Vijay Abraham I - phy-names 8145b39e92SKishon Vijay Abraham I 826fdc6e23SRob HerringunevaluatedProperties: false 836fdc6e23SRob Herring 8445b39e92SKishon Vijay Abraham Iexamples: 8545b39e92SKishon Vijay Abraham I - | 8645b39e92SKishon Vijay Abraham I #include <dt-bindings/soc/ti,sci_pm_domain.h> 8745b39e92SKishon Vijay Abraham I 8845b39e92SKishon Vijay Abraham I bus { 8945b39e92SKishon Vijay Abraham I #address-cells = <2>; 9045b39e92SKishon Vijay Abraham I #size-cells = <2>; 9145b39e92SKishon Vijay Abraham I 9245b39e92SKishon Vijay Abraham I pcie0_ep: pcie-ep@d000000 { 9345b39e92SKishon Vijay Abraham I compatible = "ti,j721e-pcie-ep"; 9445b39e92SKishon Vijay Abraham I reg = <0x00 0x02900000 0x00 0x1000>, 9545b39e92SKishon Vijay Abraham I <0x00 0x02907000 0x00 0x400>, 9645b39e92SKishon Vijay Abraham I <0x00 0x0d000000 0x00 0x00800000>, 9745b39e92SKishon Vijay Abraham I <0x00 0x10000000 0x00 0x08000000>; 9845b39e92SKishon Vijay Abraham I reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 99b6c81be9SKishon Vijay Abraham I ti,syscon-pcie-ctrl = <&pcie0_ctrl 0x4070>; 10045b39e92SKishon Vijay Abraham I max-link-speed = <3>; 10145b39e92SKishon Vijay Abraham I num-lanes = <2>; 10245b39e92SKishon Vijay Abraham I power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; 10345b39e92SKishon Vijay Abraham I clocks = <&k3_clks 239 1>; 10445b39e92SKishon Vijay Abraham I clock-names = "fck"; 10545b39e92SKishon Vijay Abraham I max-functions = /bits/ 8 <6>; 10645b39e92SKishon Vijay Abraham I dma-coherent; 10745b39e92SKishon Vijay Abraham I phys = <&serdes0_pcie_link>; 10845b39e92SKishon Vijay Abraham I phy-names = "pcie-phy"; 10945b39e92SKishon Vijay Abraham I }; 11045b39e92SKishon Vijay Abraham I }; 111