TEXT   20

cdns cdns pcie ep yaml

Guest on 22nd August 2022 01:16:24 AM

  1. # SPDX-License-Identifier: GPL-2.0-only
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6.  
  7. title: Cadence PCIe EP Controller
  8.  
  9. maintainers:
  10.   - Tom Joseph <tjoseph@cadence.com>
  11.  
  12. allOf:
  13.   - $ref: "cdns-pcie-ep.yaml#"
  14.  
  15. properties:
  16.   compatible:
  17.     const: cdns,cdns-pcie-ep
  18.  
  19.   reg:
  20.     maxItems: 2
  21.  
  22.   reg-names:
  23.     items:
  24.       - const: reg
  25.       - const: mem
  26.  
  27. required:
  28.   - reg
  29.   - reg-names
  30.  
  31. unevaluatedProperties: false
  32.  
  33. examples:
  34.   - |
  35.     bus {
  36.         #address-cells = <2>;
  37.         #size-cells = <2>;
  38.  
  39.         pcie-ep@fc000000 {
  40.                 compatible = "cdns,cdns-pcie-ep";
  41.                 reg = <0x0 0xfc000000 0x0 0x01000000>,
  42.                       <0x0 0x80000000 0x0 0x40000000>;
  43.                 reg-names = "reg", "mem";
  44.                 cdns,max-outbound-regions = <16>;
  45.                 max-functions = /bits/ 8 <8>;
  46.                 phys = <&pcie_phy0>;
  47.                 phy-names = "pcie-phy";
  48.         };
  49.     };
  50. ...

Raw Paste


Login or Register to edit or fork this paste. It's free.