Socionext Uniphier SuperSpeed DWC3 USB SoC controller

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

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>", "Masami Hiramatsu <mhiramat@kernel.org>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-dwc3"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "socionext,uniphier-dwc3"

Item 2

Exact value (const): "snps,dwc3"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Host or single combined interrupt

Item 2

Peripheral interrupt

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Allowed values (enum): "dwc_usb3", "host"

Item 2

Exact value (const): "peripheral"

clocks — required here #

Maximum number of items (maxItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "bus_early"

Item 3

Exact value (const): "suspend"

phys — required here #

1 to 4 HighSpeed PHYs followed by 1 or 2 SuperSpeed PHYs

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 6

resets — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

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

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

usb@65a00000 {
    compatible = "socionext,uniphier-dwc3", "snps,dwc3";
    reg = <0x65a00000 0xcd00>;
    interrupt-names = "dwc_usb3";
    interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
    clock-names = "ref", "bus_early", "suspend";
    clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
    resets = <&usb0_rst 15>;
    phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
           <&usb0_ssphy0>, <&usb0_ssphy1>;
    dr_mode = "host";
};

Source notes #

Annotations retained from the schema source

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

Edit this page