Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Synopsys DesignWare PCIe endpoint interface
0008 
0009 maintainers:
0010   - Jingoo Han <jingoohan1@gmail.com>
0011   - Gustavo Pimentel <gustavo.pimentel@synopsys.com>
0012 
0013 description: |
0014   Synopsys DesignWare PCIe host controller endpoint
0015 
0016 allOf:
0017   - $ref: /schemas/pci/pci-ep.yaml#
0018 
0019 properties:
0020   compatible:
0021     anyOf:
0022       - {}
0023       - const: snps,dw-pcie-ep
0024 
0025   reg:
0026     description: |
0027       It should contain Data Bus Interface (dbi) and config registers for all
0028       versions.
0029       For designware core version >= 4.80, it may contain ATU address space.
0030     minItems: 2
0031     maxItems: 4
0032 
0033   reg-names:
0034     minItems: 2
0035     maxItems: 4
0036     items:
0037       enum: [dbi, dbi2, config, atu, addr_space, link, atu_dma, appl]
0038 
0039   reset-gpio:
0040     description: GPIO pin number of PERST# signal
0041     maxItems: 1
0042     deprecated: true
0043 
0044   reset-gpios:
0045     description: GPIO controlled connection to PERST# signal
0046     maxItems: 1
0047 
0048   snps,enable-cdm-check:
0049     type: boolean
0050     description: |
0051       This is a boolean property and if present enables
0052       automatic checking of CDM (Configuration Dependent Module) registers
0053       for data corruption. CDM registers include standard PCIe configuration
0054       space registers, Port Logic registers, DMA and iATU (internal Address
0055       Translation Unit) registers.
0056 
0057   num-ib-windows:
0058     $ref: /schemas/types.yaml#/definitions/uint32
0059     maximum: 256
0060     description: number of inbound address translation windows
0061     deprecated: true
0062 
0063   num-ob-windows:
0064     $ref: /schemas/types.yaml#/definitions/uint32
0065     maximum: 256
0066     description: number of outbound address translation windows
0067     deprecated: true
0068 
0069 required:
0070   - reg
0071   - reg-names
0072   - compatible
0073 
0074 additionalProperties: true
0075 
0076 examples:
0077   - |
0078     bus {
0079       #address-cells = <1>;
0080       #size-cells = <1>;
0081       pcie-ep@dfd00000 {
0082         compatible = "snps,dw-pcie-ep";
0083         reg = <0xdfc00000 0x0001000>, /* IP registers 1 */
0084               <0xdfc01000 0x0001000>, /* IP registers 2 */
0085               <0xd0000000 0x2000000>; /* Configuration space */
0086         reg-names = "dbi", "dbi2", "addr_space";
0087       };
0088     };