Samsung S5P/Exynos SoC USB 2.0 PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/samsung,usb2-phy.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"

The first phandle argument in the PHY specifier identifies the PHY, its
meaning is compatible dependent. For the currently supported SoCs (Exynos4210
and Exynos4212) it is as follows::
  0 - USB device ("device"),
  1 - USB host ("host"),
  2 - HSIC0 ("hsic0"),
  3 - HSIC1 ("hsic1"),
Exynos3250 has only USB device phy available as phy 0.

Exynos4210 and Exynos4212 use mode switching and require that mode switch register is supplied.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos3250-usb2-phy", "samsung,exynos4210-usb2-phy", "samsung,exynos4x12-usb2-phy", "samsung,exynos5250-usb2-phy", "samsung,exynos5420-usb2-phy", "samsung,s5pv210-usb2-phy"

clocks — required here #

Array item rules (items) #

Item 1

PHY module gate clock.

Item 2

Reference rate clock of PHY module.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "phy"

Item 2

Exact value (const): "ref"

#phy-cells — required here #

Exact value (const): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,pmureg-phandle — required here #

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

Phandle to PMU system controller interface.

samsung,sysreg-phandle — not listed as required here #

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

Phandle to system registers interface.

vbus-supply — not listed as required here #

VBUS power source.

Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "reg", "samsung,pmureg-phandle"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos4x12-usb2-phy", "samsung,exynos5250-usb2-phy", "samsung,exynos5420-usb2-phy"

When the condition matches (then) #

Required in this object (required): "samsung,sysreg-phandle"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5420.h>

phy@12130000 {
    compatible = "samsung,exynos5420-usb2-phy";
    reg = <0x12130000 0x100>;
    #phy-cells = <1>;
    clocks = <&clock CLK_USBH20>, <&clock CLK_SCLK_USBPHY300>;
    clock-names = "phy", "ref";
    samsung,sysreg-phandle = <&sysreg_system_controller>;
    samsung,pmureg-phandle = <&pmu_system_controller>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page