HiSilicon Hi3798MV200 DWC3 USB SoC controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/hisilicon,hi3798mv200-dwc3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yang Xiwen <forbidden405@foxmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hisilicon,hi3798mv200-dwc3"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
ranges — required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
Controller bus clock
Item 2
Controller suspend clock
Item 3
Controller reference clock
Item 4
Controller gm clock
Item 5
Controller gs clock
Item 6
Controller utmi clock
Item 7
Controller pipe clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"suspend"
Item 3
Exact value (
const):"ref"
Item 4
Exact value (
const):"gm"
Item 5
Exact value (
const):"gs"
Item 6
Exact value (
const):"utmi"
Item 7
Exact value (
const):"pipe"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "soft"
Properties matching a name pattern (patternProperties) #
^usb@[0-9a-f]+$ — name matches this regular expression #
Shared schema rule ($ref): snps,dwc3.yaml#
Required in this object (required): "compatible", "ranges", "#address-cells", "#size-cells", "clocks", "clock-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb {
compatible = "hisilicon,hi3798mv200-dwc3";
ranges;
#address-cells = <1>;
#size-cells = <1>;
clocks = <&clk_bus>,
<&clk_suspend>,
<&clk_ref>,
<&clk_gm>,
<&clk_gs>,
<&clk_utmi>,
<&clk_pipe>;
clock-names = "bus", "suspend", "ref", "gm", "gs", "utmi", "pipe";
resets = <&crg 0xb0 12>;
reset-names = "soft";
usb@98a0000 {
compatible = "snps,dwc3";
reg = <0x98a0000 0x10000>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_bus>,
<&clk_suspend>,
<&clk_ref>;
clock-names = "bus_early", "suspend", "ref";
phys = <&usb2_phy1_port2>, <&combphy0 0>;
phy-names = "usb2-phy", "usb3-phy";
maximum-speed = "super-speed";
dr_mode = "host";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)