Samsung Exynos SoC USB 3.0 DWC3 Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/samsung,exynos-dwc3.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "google,gs101-dwusb3", "samsung,exynos2200-dwusb3", "samsung,exynos5250-dwusb3", "samsung,exynos5433-dwusb3", "samsung,exynos7-dwusb3", "samsung,exynos7870-dwusb3", "samsung,exynos850-dwusb3", "samsung,exynosautov920-dwusb3"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "samsung,exynos8890-dwusb3"

Item 2

Exact value (const): "samsung,exynos7-dwusb3"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "samsung,exynos990-dwusb3"

Item 2

Exact value (const): "samsung,exynos850-dwusb3"

#address-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#size-cells — required here #

Exact value (const): 1

vdd10-supply — not listed as required here #

1.0V power supply

vdd33-supply — required here #

3.0V/3.3V power supply

Properties matching a name pattern (patternProperties) #

^usb@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): snps,dwc3.yaml#

Required child node

Required in this object (required): "compatible", "#address-cells", "clocks", "clock-names", "ranges", "#size-cells", "vdd33-supply"

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)

Exact value (const): "google,gs101-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_early"

Item 2

Exact value (const): "susp_clk"

Item 3

Exact value (const): "link_aclk"

Item 4

Exact value (const): "link_pclk"

Required in this object (required): "vdd10-supply"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos2200-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "link_aclk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5250-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "usbdrd30"

Required in this object (required): "vdd10-supply"

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos5433-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "aclk"

Item 2

Exact value (const): "susp_clk"

Item 3

Exact value (const): "phyclk"

Item 4

Exact value (const): "pipe_pclk"

Required in this object (required): "vdd10-supply"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "usbdrd30"

Item 2

Exact value (const): "usbdrd30_susp_clk"

Item 3

Exact value (const): "usbdrd30_axius_clk"

Required in this object (required): "vdd10-supply"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos7870-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_early"

Item 2

Exact value (const): "ref"

Item 3

Exact value (const): "ctrl"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "bus_early"

Item 2

Exact value (const): "ref"

Required in this object (required): "vdd10-supply"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynosautov920-dwusb3"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "susp_clk"

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>
#include <dt-bindings/interrupt-controller/arm-gic.h>

usb@12000000 {
    compatible = "samsung,exynos5250-dwusb3";
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x12000000 0x10000>;
    clocks = <&clock CLK_USBD300>;
    clock-names = "usbdrd30";
    vdd33-supply = <&ldo9_reg>;
    vdd10-supply = <&ldo11_reg>;

    usb@0 {
        compatible = "snps,dwc3";
        reg = <0x0 0x10000>;
        interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
        phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
        phy-names = "usb2-phy", "usb3-phy";
        snps,dis_u3_susphy_quirk;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page