Unisoc Universal Flash Storage (UFS) Controller

Schema identifier ($id): "http://devicetree.org/schemas/ufs/sprd,ums9620-ufs.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Zhe Wang <zhe.wang1@unisoc.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): ufs-common.yaml

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sprd,ums9620-ufs"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "controller_eb"

Item 2

Exact value (const): "cfg_eb"

Item 3

Exact value (const): "core"

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "controller"

Item 2

Exact value (const): "device"

vdd-mphy-supply — not listed as required here #

Phandle to vdd-mphy supply regulator node.

sprd,ufs-anlg-syscon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of syscon used to control ufs analog regs.

sprd,aon-apb-syscon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle of syscon used to control always-on regs.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

ufs: ufs@22000000 {
    compatible = "sprd,ums9620-ufs";
    reg = <0x22000000 0x3000>;
    interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
    vcc-supply = <&vddemmccore>;
    vdd-mphy-supply = <&vddufs1v2>;
    clocks = <&apahb_gate 5>, <&apahb_gate 22>, <&aonapb_clk 52>;
    clock-names = "controller_eb", "cfg_eb", "core";
    assigned-clocks = <&aonapb_clk 52>;
    assigned-clock-parents = <&g5l_pll 12>;
    resets = <&apahb_gate 4>, <&aonapb_gate 69>;
    reset-names = "controller", "device";
    sprd,ufs-anlg-syscon = <&anlg_phy_g12_regs>;
    sprd,aon-apb-syscon = <&aon_apb_regs>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page