^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/pci/pci-ep.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: PCI Endpoint Controller Schema
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) description: |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Common properties for PCI Endpoint Controller Nodes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - Kishon Vijay Abraham I <kishon@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) $nodename:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) pattern: "^pcie-ep@"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) max-functions:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) description: Maximum number of functions that can be configured
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) $ref: /schemas/types.yaml#/definitions/uint8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) minimum: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) default: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) maximum: 255
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) max-link-speed:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) enum: [ 1, 2, 3, 4 ]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) num-lanes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) description: maximum number of lanes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) minimum: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) default: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) maximum: 16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) additionalProperties: true