Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Synopsys DesignWare Universal Flash Storage (UFS) Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Li Wei <liwei213@huawei.com> |
| 11 | |
| 12 | # Select only our matches, not all jedec,ufs |
| 13 | select: |
| 14 | properties: |
| 15 | compatible: |
| 16 | contains: |
| 17 | enum: |
| 18 | - snps,dwc-ufshcd-1.40a |
| 19 | required: |
| 20 | - compatible |
| 21 | |
| 22 | allOf: |
| 23 | - $ref: ufs-common.yaml |
| 24 | |
| 25 | properties: |
| 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 | |
| 37 | required: |
| 38 | - compatible |
| 39 | - reg |
| 40 | |
| 41 | unevaluatedProperties: false |
| 42 | |
| 43 | examples: |
| 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 | }; |