Synopsys DesignWare Universal Flash Storage (UFS) Controller
Schema identifier ($id): "http://devicetree.org/schemas/ufs/snps,tc-dwc-g210.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Li Wei <liwei213@huawei.com>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ufs-common.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"snps,g210-tc-6.00-20bit","snps,g210-tc-6.00-40bit"
Item 2
Exact value (
const):"snps,dwc-ufshcd-1.40a"
Item 3
Exact value (
const):"jedec,ufs-2.0"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ufs@d0000000 {
compatible = "snps,g210-tc-6.00-40bit",
"snps,dwc-ufshcd-1.40a",
"jedec,ufs-2.0";
reg = <0xd0000000 0x10000>;
interrupts = <24>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 12: Select only our matches, not all jedec,ufs