xref: /freebsd/sys/contrib/device-tree/Bindings/ata/apm,xgene-ahci.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
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
7title: APM X-Gene 6.0 Gb/s SATA host controller
8
9maintainers:
10  - Rob Herring <robh@kernel.org>
11
12allOf:
13  - $ref: ahci-common.yaml#
14
15properties:
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
36required:
37  - compatible
38  - clocks
39  - phys
40  - phy-names
41
42unevaluatedProperties: false
43
44examples:
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    };
59