xref: /freebsd/sys/contrib/device-tree/Bindings/ata/apm,xgene-ahci.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/ata/apm,xgene-ahci.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: APM X-Gene 6.0 Gb/s SATA host controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Rob Herring <robh@kernel.org>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel VadotallOf:
13*ae5de77eSEmmanuel Vadot  - $ref: ahci-common.yaml#
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadotproperties:
16*ae5de77eSEmmanuel Vadot  compatible:
17*ae5de77eSEmmanuel Vadot    enum:
18*ae5de77eSEmmanuel Vadot      - apm,xgene-ahci
19*ae5de77eSEmmanuel Vadot      - apm,xgene-ahci-pcie
20*ae5de77eSEmmanuel Vadot
21*ae5de77eSEmmanuel Vadot  reg:
22*ae5de77eSEmmanuel Vadot    minItems: 4
23*ae5de77eSEmmanuel Vadot    items:
24*ae5de77eSEmmanuel Vadot      - description: AHCI memory resource
25*ae5de77eSEmmanuel Vadot      - description: Host controller core
26*ae5de77eSEmmanuel Vadot      - description: Host controller diagnostic
27*ae5de77eSEmmanuel Vadot      - description: Host controller AXI
28*ae5de77eSEmmanuel Vadot      - description: Host controller MUX
29*ae5de77eSEmmanuel Vadot
30*ae5de77eSEmmanuel Vadot  interrupts:
31*ae5de77eSEmmanuel Vadot    maxItems: 1
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  clocks:
34*ae5de77eSEmmanuel Vadot    maxItems: 1
35*ae5de77eSEmmanuel Vadot
36*ae5de77eSEmmanuel Vadotrequired:
37*ae5de77eSEmmanuel Vadot  - compatible
38*ae5de77eSEmmanuel Vadot  - clocks
39*ae5de77eSEmmanuel Vadot  - phys
40*ae5de77eSEmmanuel Vadot  - phy-names
41*ae5de77eSEmmanuel Vadot
42*ae5de77eSEmmanuel VadotunevaluatedProperties: false
43*ae5de77eSEmmanuel Vadot
44*ae5de77eSEmmanuel Vadotexamples:
45*ae5de77eSEmmanuel Vadot  - |
46*ae5de77eSEmmanuel Vadot    sata@1a400000 {
47*ae5de77eSEmmanuel Vadot        compatible = "apm,xgene-ahci";
48*ae5de77eSEmmanuel Vadot        reg = <0x1a400000 0x1000>,
49*ae5de77eSEmmanuel Vadot              <0x1f220000 0x1000>,
50*ae5de77eSEmmanuel Vadot              <0x1f22d000 0x1000>,
51*ae5de77eSEmmanuel Vadot              <0x1f22e000 0x1000>,
52*ae5de77eSEmmanuel Vadot              <0x1f227000 0x1000>;
53*ae5de77eSEmmanuel Vadot        clocks = <&sataclk 0>;
54*ae5de77eSEmmanuel Vadot        dma-coherent;
55*ae5de77eSEmmanuel Vadot        interrupts = <0x0 0x87 0x4>;
56*ae5de77eSEmmanuel Vadot        phys = <&phy2 0>;
57*ae5de77eSEmmanuel Vadot        phy-names = "sata-phy";
58*ae5de77eSEmmanuel Vadot    };
59