Sunplus SP7021 USB 2.0 PHY Controller
Schema identifier ($id): "http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vincent Shih <vincent.sunplus@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sunplus,sp7021-usb2-phy"
reg — required here #
Array item rules (items) #
Item 1
UPHY register region
Item 2
MOON4 register region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"moon4"
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
nvmem-cell-names — required here #
names corresponding to the nvmem cells of disconnect voltage
Exact value (const): "disc_vol"
nvmem-cells — required here #
nvmem cell address of disconnect voltage
Maximum number of items (maxItems): 1
sunplus,disc-vol-addr-off — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
the otp address offset of disconnect voltage
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets", "#phy-cells", "nvmem-cell-names", "nvmem-cells", "sunplus,disc-vol-addr-off"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sp_uphy0: usb-phy@9c004a80 {
compatible = "sunplus,sp7021-usb2-phy";
reg = <0x9c004a80 0x80>, <0x9c000248 0x10>;
reg-names = "phy", "moon4";
clocks = <&clkc 0x3d>;
resets = <&rstc 0x2d>;
#phy-cells = <0>;
nvmem-cell-names = "disc_vol";
nvmem-cells = <&disc_vol>;
sunplus,disc-vol-addr-off = <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) Sunplus Co., Ltd. 2021