Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-host.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Cadence PCIe host controller
0008 
0009 maintainers:
0010   - Tom Joseph <tjoseph@cadence.com>
0011 
0012 allOf:
0013   - $ref: /schemas/pci/pci-bus.yaml#
0014   - $ref: "cdns-pcie-host.yaml#"
0015 
0016 properties:
0017   compatible:
0018     const: cdns,cdns-pcie-host
0019 
0020   reg:
0021     maxItems: 2
0022 
0023   reg-names:
0024     items:
0025       - const: reg
0026       - const: cfg
0027 
0028   msi-parent: true
0029 
0030 required:
0031   - reg
0032   - reg-names
0033 
0034 unevaluatedProperties: false
0035 
0036 examples:
0037   - |
0038     bus {
0039         #address-cells = <2>;
0040         #size-cells = <2>;
0041 
0042         pcie@fb000000 {
0043             compatible = "cdns,cdns-pcie-host";
0044             device_type = "pci";
0045             #address-cells = <3>;
0046             #size-cells = <2>;
0047             bus-range = <0x0 0xff>;
0048             linux,pci-domain = <0>;
0049             vendor-id = <0x17cd>;
0050             device-id = <0x0200>;
0051 
0052             reg = <0x0 0xfb000000  0x0 0x01000000>,
0053                   <0x0 0x41000000  0x0 0x00001000>;
0054             reg-names = "reg", "cfg";
0055 
0056             ranges = <0x02000000 0x0 0x42000000  0x0 0x42000000  0x0 0x1000000>,
0057                      <0x01000000 0x0 0x43000000  0x0 0x43000000  0x0 0x0010000>;
0058             dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x1 0x00000000>;
0059 
0060             #interrupt-cells = <0x1>;
0061 
0062             interrupt-map = <0x0 0x0 0x0  0x1  &gic  0x0 0x0 0x0 14 0x1>,
0063                  <0x0 0x0 0x0  0x2  &gic  0x0 0x0 0x0 15 0x1>,
0064                  <0x0 0x0 0x0  0x3  &gic  0x0 0x0 0x0 16 0x1>,
0065                  <0x0 0x0 0x0  0x4  &gic  0x0 0x0 0x0 17 0x1>;
0066 
0067             interrupt-map-mask = <0x0 0x0 0x0  0x7>;
0068 
0069             msi-parent = <&its_pci>;
0070 
0071             phys = <&pcie_phy0>;
0072             phy-names = "pcie-phy";
0073         };
0074     };
0075 ...