AMD Versal Gen 2 UFS Host Controller

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

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

Maintainers (maintainers): "Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "amd,versal2-ufs"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 2

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "host"

Item 2

Exact value (const): "phy"

Required in this object (required): "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@f10b0000 {
    compatible = "amd,versal2-ufs";
    reg = <0xf10b0000 0x1000>;
    clocks = <&ufs_core_clk>;
    clock-names = "core";
    resets = <&scmi_reset 4>, <&scmi_reset 35>;
    reset-names = "host", "phy";
    interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
    freq-table-hz = <0 0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page