Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Synopsys DesignWare Universal Flash Storage (UFS) Controller
0008 
0009 maintainers:
0010   - Li Wei <liwei213@huawei.com>
0011 
0012 # Select only our matches, not all jedec,ufs
0013 select:
0014   properties:
0015     compatible:
0016       contains:
0017         enum:
0018           - snps,dwc-ufshcd-1.40a
0019   required:
0020     - compatible
0021 
0022 allOf:
0023   - $ref: ufs-common.yaml
0024 
0025 properties:
0026   compatible:
0027     items:
0028       - enum:
0029           - snps,g210-tc-6.00-20bit
0030           - snps,g210-tc-6.00-40bit
0031       - const: snps,dwc-ufshcd-1.40a
0032       - const: jedec,ufs-2.0
0033 
0034   reg:
0035     maxItems: 1
0036 
0037 required:
0038   - compatible
0039   - reg
0040 
0041 unevaluatedProperties: false
0042 
0043 examples:
0044   - |
0045     ufs@d0000000 {
0046         compatible = "snps,g210-tc-6.00-40bit",
0047                      "snps,dwc-ufshcd-1.40a",
0048                      "jedec,ufs-2.0";
0049         reg = <0xd0000000 0x10000>;
0050         interrupts = <24>;
0051     };