xref: /linux/Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml (revision 16460bf96c31377c14d9f11a6da8c6f508e3443e)
1*c9d869fbSYulin Lu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c9d869fbSYulin Lu%YAML 1.2
3*c9d869fbSYulin Lu---
4*c9d869fbSYulin Lu$id: http://devicetree.org/schemas/ata/eswin,eic7700-ahci.yaml#
5*c9d869fbSYulin Lu$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9d869fbSYulin Lu
7*c9d869fbSYulin Lutitle: Eswin EIC7700 SoC SATA Controller
8*c9d869fbSYulin Lu
9*c9d869fbSYulin Lumaintainers:
10*c9d869fbSYulin Lu  - Yulin Lu <luyulin@eswincomputing.com>
11*c9d869fbSYulin Lu  - Huan He <hehuan1@eswincomputing.com>
12*c9d869fbSYulin Lu
13*c9d869fbSYulin Ludescription:
14*c9d869fbSYulin Lu  AHCI SATA controller embedded into the EIC7700 SoC is based on the DWC AHCI
15*c9d869fbSYulin Lu  SATA v5.00a IP core.
16*c9d869fbSYulin Lu
17*c9d869fbSYulin Luselect:
18*c9d869fbSYulin Lu  properties:
19*c9d869fbSYulin Lu    compatible:
20*c9d869fbSYulin Lu      const: eswin,eic7700-ahci
21*c9d869fbSYulin Lu  required:
22*c9d869fbSYulin Lu    - compatible
23*c9d869fbSYulin Lu
24*c9d869fbSYulin LuallOf:
25*c9d869fbSYulin Lu  - $ref: snps,dwc-ahci-common.yaml#
26*c9d869fbSYulin Lu
27*c9d869fbSYulin Luproperties:
28*c9d869fbSYulin Lu  compatible:
29*c9d869fbSYulin Lu    items:
30*c9d869fbSYulin Lu      - const: eswin,eic7700-ahci
31*c9d869fbSYulin Lu      - const: snps,dwc-ahci
32*c9d869fbSYulin Lu
33*c9d869fbSYulin Lu  clocks:
34*c9d869fbSYulin Lu    minItems: 2
35*c9d869fbSYulin Lu    maxItems: 2
36*c9d869fbSYulin Lu
37*c9d869fbSYulin Lu  clock-names:
38*c9d869fbSYulin Lu    items:
39*c9d869fbSYulin Lu      - const: pclk
40*c9d869fbSYulin Lu      - const: aclk
41*c9d869fbSYulin Lu
42*c9d869fbSYulin Lu  resets:
43*c9d869fbSYulin Lu    maxItems: 1
44*c9d869fbSYulin Lu
45*c9d869fbSYulin Lu  reset-names:
46*c9d869fbSYulin Lu    const: arst
47*c9d869fbSYulin Lu
48*c9d869fbSYulin Lu  ports-implemented:
49*c9d869fbSYulin Lu    const: 1
50*c9d869fbSYulin Lu
51*c9d869fbSYulin Lurequired:
52*c9d869fbSYulin Lu  - compatible
53*c9d869fbSYulin Lu  - reg
54*c9d869fbSYulin Lu  - interrupts
55*c9d869fbSYulin Lu  - clocks
56*c9d869fbSYulin Lu  - clock-names
57*c9d869fbSYulin Lu  - resets
58*c9d869fbSYulin Lu  - reset-names
59*c9d869fbSYulin Lu  - phys
60*c9d869fbSYulin Lu  - phy-names
61*c9d869fbSYulin Lu  - ports-implemented
62*c9d869fbSYulin Lu
63*c9d869fbSYulin LuunevaluatedProperties: false
64*c9d869fbSYulin Lu
65*c9d869fbSYulin Luexamples:
66*c9d869fbSYulin Lu  - |
67*c9d869fbSYulin Lu    sata@50420000 {
68*c9d869fbSYulin Lu        compatible = "eswin,eic7700-ahci", "snps,dwc-ahci";
69*c9d869fbSYulin Lu        reg = <0x50420000 0x10000>;
70*c9d869fbSYulin Lu        interrupt-parent = <&plic>;
71*c9d869fbSYulin Lu        interrupts = <58>;
72*c9d869fbSYulin Lu        clocks = <&clock 171>, <&clock 186>;
73*c9d869fbSYulin Lu        clock-names = "pclk", "aclk";
74*c9d869fbSYulin Lu        phys = <&sata_phy>;
75*c9d869fbSYulin Lu        phy-names = "sata-phy";
76*c9d869fbSYulin Lu        ports-implemented = <0x1>;
77*c9d869fbSYulin Lu        resets = <&reset 96>;
78*c9d869fbSYulin Lu        reset-names = "arst";
79*c9d869fbSYulin Lu    };
80