Skip to content

Commit 7095800

Browse files
robherringbjorn-helgaas
authored andcommitted
dt-bindings: PCI: Convert st,spear1340-pcie to DT schema
Convert the ST SPEAr1340 PCIe binding to DT schema format. It's a straight forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> [mani: added the license] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20250710180731.2969879-1-robh@kernel.org
1 parent e1cb67a commit 7095800

2 files changed

Lines changed: 45 additions & 14 deletions

File tree

Documentation/devicetree/bindings/pci/spear13xx-pcie.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/pci/st,spear1340-pcie.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ST SPEAr1340 PCIe controller
8+
9+
maintainers:
10+
- Pratyush Anand <pratyush.anand@gmail.com>
11+
12+
description:
13+
SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY
14+
controller.
15+
16+
select:
17+
properties:
18+
compatible:
19+
contains:
20+
const: st,spear1340-pcie
21+
required:
22+
- compatible
23+
24+
properties:
25+
compatible:
26+
items:
27+
- const: st,spear1340-pcie
28+
- const: snps,dw-pcie
29+
30+
phys:
31+
maxItems: 1
32+
33+
st,pcie-is-gen1:
34+
type: boolean
35+
description: Indicates forced gen1 initialization is needed.
36+
37+
required:
38+
- compatible
39+
- phys
40+
- phy-names
41+
42+
allOf:
43+
- $ref: snps,dw-pcie.yaml#
44+
45+
unevaluatedProperties: false

0 commit comments

Comments
 (0)