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