Debian Codegraph @

Documentation/devicetree/bindings/ata/apm,xgene-ahci.yaml

raw
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 <[email protected]>
11
12 properties:
13 compatible:
14 enum:
15 - apm,xgene-ahci
16 - apm,xgene-ahci-v2
17
18 reg:
19 minItems: 4
20 items:
21 - description: AHCI memory resource
22 - description: Host controller core
23 - description: Host controller diagnostic
24 - description: Host controller AXI
25 - description: Host controller MUX
26
27 interrupts:
28 maxItems: 1
29
30 clocks:
31 maxItems: 1
32
33 required:
34 - compatible
35
36 unevaluatedProperties: false
37
38 allOf:
39 - $ref: ahci-common.yaml#
40 - if:
41 properties:
42 compatible:
43 contains:
44 const: apm,xgene-ahci
45 then:
46 required:
47 - clocks
48 - phys
49 - phy-names
50
51 examples:
52 - |
53 sata@1a400000 {
54 compatible = "apm,xgene-ahci";
55 reg = <0x1a400000 0x1000>,
56 <0x1f220000 0x1000>,
57 <0x1f22d000 0x1000>,
58 <0x1f22e000 0x1000>,
59 <0x1f227000 0x1000>;
60 clocks = <&sataclk 0>;
61 dma-coherent;
62 interrupts = <0x0 0x87 0x4>;
63 phys = <&phy2 0>;
64 phy-names = "sata-phy";
65 };