xref: /linux/Documentation/devicetree/bindings/ufs/snps,tc-dwc-g210.yaml (revision f3e00820f51952bb75c4c2fd722d56e844e17c15)
1*f3e00820SKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*f3e00820SKrzysztof Kozlowski%YAML 1.2
3*f3e00820SKrzysztof Kozlowski---
4*f3e00820SKrzysztof Kozlowski$id: http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml#
5*f3e00820SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f3e00820SKrzysztof Kozlowski
7*f3e00820SKrzysztof Kozlowskititle: Synopsys DesignWare Universal Flash Storage (UFS) Controller
8*f3e00820SKrzysztof Kozlowski
9*f3e00820SKrzysztof Kozlowskimaintainers:
10*f3e00820SKrzysztof Kozlowski  - Li Wei <liwei213@huawei.com>
11*f3e00820SKrzysztof Kozlowski
12*f3e00820SKrzysztof Kozlowski# Select only our matches, not all jedec,ufs
13*f3e00820SKrzysztof Kozlowskiselect:
14*f3e00820SKrzysztof Kozlowski  properties:
15*f3e00820SKrzysztof Kozlowski    compatible:
16*f3e00820SKrzysztof Kozlowski      contains:
17*f3e00820SKrzysztof Kozlowski        enum:
18*f3e00820SKrzysztof Kozlowski          - snps,dwc-ufshcd-1.40a
19*f3e00820SKrzysztof Kozlowski  required:
20*f3e00820SKrzysztof Kozlowski    - compatible
21*f3e00820SKrzysztof Kozlowski
22*f3e00820SKrzysztof KozlowskiallOf:
23*f3e00820SKrzysztof Kozlowski  - $ref: ufs-common.yaml
24*f3e00820SKrzysztof Kozlowski
25*f3e00820SKrzysztof Kozlowskiproperties:
26*f3e00820SKrzysztof Kozlowski  compatible:
27*f3e00820SKrzysztof Kozlowski    items:
28*f3e00820SKrzysztof Kozlowski      - enum:
29*f3e00820SKrzysztof Kozlowski          - snps,g210-tc-6.00-20bit
30*f3e00820SKrzysztof Kozlowski          - snps,g210-tc-6.00-40bit
31*f3e00820SKrzysztof Kozlowski      - const: snps,dwc-ufshcd-1.40a
32*f3e00820SKrzysztof Kozlowski      - const: jedec,ufs-2.0
33*f3e00820SKrzysztof Kozlowski
34*f3e00820SKrzysztof Kozlowski  reg:
35*f3e00820SKrzysztof Kozlowski    maxItems: 1
36*f3e00820SKrzysztof Kozlowski
37*f3e00820SKrzysztof Kozlowskirequired:
38*f3e00820SKrzysztof Kozlowski  - compatible
39*f3e00820SKrzysztof Kozlowski  - reg
40*f3e00820SKrzysztof Kozlowski
41*f3e00820SKrzysztof KozlowskiunevaluatedProperties: false
42*f3e00820SKrzysztof Kozlowski
43*f3e00820SKrzysztof Kozlowskiexamples:
44*f3e00820SKrzysztof Kozlowski  - |
45*f3e00820SKrzysztof Kozlowski    ufs@d0000000 {
46*f3e00820SKrzysztof Kozlowski        compatible = "snps,g210-tc-6.00-40bit",
47*f3e00820SKrzysztof Kozlowski                     "snps,dwc-ufshcd-1.40a",
48*f3e00820SKrzysztof Kozlowski                     "jedec,ufs-2.0";
49*f3e00820SKrzysztof Kozlowski        reg = <0xd0000000 0x10000>;
50*f3e00820SKrzysztof Kozlowski        interrupts = <24>;
51*f3e00820SKrzysztof Kozlowski    };
52