Skip to content

Commit b562d78

Browse files
robherringdamien-lemoal
authored andcommitted
dt-bindings: ata: Convert apm,xgene-ahci to DT schema
Convert the APM X-Gene AHCI SATA Controller to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
1 parent 2de72bb commit b562d78

File tree

2 files changed

+58
-77
lines changed

2 files changed

+58
-77
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: APM X-Gene 6.0 Gb/s SATA host controller
8+
9+
maintainers:
10+
- Rob Herring <robh@kernel.org>
11+
12+
allOf:
13+
- $ref: ahci-common.yaml#
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- apm,xgene-ahci
19+
- apm,xgene-ahci-pcie
20+
21+
reg:
22+
minItems: 4
23+
items:
24+
- description: AHCI memory resource
25+
- description: Host controller core
26+
- description: Host controller diagnostic
27+
- description: Host controller AXI
28+
- description: Host controller MUX
29+
30+
interrupts:
31+
maxItems: 1
32+
33+
clocks:
34+
maxItems: 1
35+
36+
required:
37+
- compatible
38+
- clocks
39+
- phys
40+
- phy-names
41+
42+
unevaluatedProperties: false
43+
44+
examples:
45+
- |
46+
sata@1a400000 {
47+
compatible = "apm,xgene-ahci";
48+
reg = <0x1a400000 0x1000>,
49+
<0x1f220000 0x1000>,
50+
<0x1f22d000 0x1000>,
51+
<0x1f22e000 0x1000>,
52+
<0x1f227000 0x1000>;
53+
clocks = <&sataclk 0>;
54+
dma-coherent;
55+
interrupts = <0x0 0x87 0x4>;
56+
phys = <&phy2 0>;
57+
phy-names = "sata-phy";
58+
};

Documentation/devicetree/bindings/ata/apm-xgene.txt

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)