summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pci/st,spear1340-pcie.yaml
blob: 784f97b3cb7a93c603cc7547d9002ecc68728afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/st,spear1340-pcie.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ST SPEAr1340 PCIe controller

maintainers:
  - Pratyush Anand <pratyush.anand@gmail.com>

description:
  SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY
  controller.

select:
  properties:
    compatible:
      contains:
        const: st,spear1340-pcie
  required:
    - compatible

properties:
  compatible:
    items:
      - const: st,spear1340-pcie
      - const: snps,dw-pcie

  phys:
    maxItems: 1

  st,pcie-is-gen1:
    type: boolean
    description: Indicates forced gen1 initialization is needed.

required:
  - compatible
  - phys
  - phy-names

allOf:
  - $ref: snps,dw-pcie.yaml#

unevaluatedProperties: false