MediaTek Universal Flash Storage (UFS) M-PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chunfeng Yun <chunfeng.yun@mediatek.com>", "Peter Wang <peter.wang@mediatek.com>", "Chaotian Jing <chaotian.jing@mediatek.com>"
UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro. Each UFS M-PHY node should have its own node. To bind UFS M-PHY with UFS host controller, the controller node should contain a phandle reference to UFS M-PHY node.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^ufs-phy@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mediatek,mt8183-ufsphy"
Rule 2
Exact value (
const):"mediatek,mt8183-ufsphy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Unipro core control clock.
Item 2
M-PHY core control clock.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"unipro"
Item 2
Exact value (
const):"mp"
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8183-clk.h>
ufsphy: ufs-phy@11fa0000 {
compatible = "mediatek,mt8183-ufsphy";
reg = <0x11fa0000 0xc000>;
clocks = <&infracfg CLK_INFRA_UNIPRO_SCK>,
<&infracfg CLK_INFRA_UFS_MP_SAP_BCLK>;
clock-names = "unipro", "mp";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2020 MediaTek