Common properties for Universal Flash Storage (UFS) Host Controllers

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

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

Maintainers (maintainers): "Alim Akhtar <alim.akhtar@samsung.com>", "Avri Altman <avri.altman@wdc.com>"

Properties and child nodes (properties) #

clocks — not listed as required here #

true — No constraints added by this property rule.

clock-names — not listed as required here #

true — No constraints added by this property rule.

freq-table-hz — not listed as required here #

Array item rules (items) #

Array item rules (items)

Item 1

Minimum frequency for given clock in Hz

Item 2

Maximum frequency for given clock in Hz

Deprecated (deprecated): true

Preferred is operating-points-v2.

Array of <min max> operating frequencies in Hz stored in the same order as the clocks property. If either this property or operating-points-v2 is not defined or a value in the array is "0" then it is assumed that the frequency is set by the parent clock or a fixed rate clock source.

operating-points-v2 — not listed as required here #

Preferred over freq-table-hz. If present, each OPP must contain array of frequencies stored in the same order for each clock. If clock frequency in the array is "0" then it is assumed that the frequency is set by the parent clock or a fixed rate clock source.

opp-table — not listed as required here #

Value type (type): "object"

interrupts — required here #

Maximum number of items (maxItems): 1

lanes-per-direction — not listed as required here #

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

Allowed values (enum): 1, 2

Default value (default): 2

Number of lanes available per direction. Note that it is assumed that the same number of lanes are used in both directions at once.

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

Phandle to UFS host controller supply regulator node.

vcc-supply — not listed as required here #

Phandle to VCC supply regulator node.

vccq-supply — not listed as required here #

Phandle to VCCQ supply regulator node.

vccq2-supply — not listed as required here #

Phandle to VCCQ2 supply regulator node.

vcc-supply-1p8 — not listed as required here #

Value type (type): "boolean"

For embedded UFS devices, valid VCC range is 1.7-1.95V or 2.7-3.6V. This boolean property when set, specifies to use low voltage range of 1.7-1.95V. Note for external UFS cards this property is invalid and valid VCC range is always 2.7-3.6V.

vcc-max-microamp — not listed as required here #

Specifies max. load that can be drawn from VCC supply.

vccq-max-microamp — not listed as required here #

Specifies max. load that can be drawn from VCCQ supply.

vccq2-max-microamp — not listed as required here #

Specifies max. load that can be drawn from VCCQ2 supply.

msi-parent — not listed as required here #

true — No constraints added by this property rule.

limit-hs-gear — not listed as required here #

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

Minimum value (minimum): 1

Maximum value (maximum): 6

Default value (default): 6

Restricts the maximum HS gear used in both TX and RX directions.

limit-gear-rate — not listed as required here #

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

Allowed values (enum): "rate-a", "rate-b"

Default value (default): "rate-b"

Restricts the UFS controller to rate-a or rate-b for both TX and RX directions.

Property dependencies (dependencies) #

freq-table-hz — applies when this property is present #

Also requires: "clocks"

operating-points-v2 — applies when this property is present #

Also requires: "clocks", "clock-names"

Required in this object (required): "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Required in this object (required): "freq-table-hz"

When the condition matches (then) #

Properties and child nodes (properties)

operating-points-v2 — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Required in this object (required): "operating-points-v2"

When the condition matches (then) #

Properties and child nodes (properties)

freq-table-hz — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page