Rockchip RK3399 SuperSpeed DWC3 USB SoC controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/rockchip,rk3399-dwc3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3399-dwc3"
#address-cells — required here #
Exact value (const): 2
#size-cells — required here #
Exact value (const): 2
ranges — required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
Controller reference clock, must to be 24 MHz
Item 2
Controller suspend clock, must to be 24 MHz or 32 KHz
Item 3
Master/Core clock, must to be >= 62.5 MHz for SS operation and >= 30MHz for HS operation
Item 4
USB3 aclk peri
Item 5
USB3 aclk
Item 6
Controller grf clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref_clk"
Item 2
Exact value (
const):"suspend_clk"
Item 3
Exact value (
const):"bus_clk"
Item 4
Exact value (
const):"aclk_usb3_rksoc_axi_perf"
Item 5
Exact value (
const):"aclk_usb3"
Item 6
Exact value (
const):"grf_clk"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Exact value (const): "usb3-otg"
Properties matching a name pattern (patternProperties) #
^usb@ — name matches this regular expression #
Shared schema rule ($ref): snps,dwc3.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "#address-cells", "#size-cells", "ranges", "clocks", "clock-names", "resets", "reset-names"
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/power/rk3399-power.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
usb {
compatible = "rockchip,rk3399-dwc3";
#address-cells = <2>;
#size-cells = <2>;
ranges;
clocks = <&cru SCLK_USB3OTG0_REF>, <&cru SCLK_USB3OTG0_SUSPEND>,
<&cru ACLK_USB3OTG0>, <&cru ACLK_USB3_RKSOC_AXI_PERF>,
<&cru ACLK_USB3>, <&cru ACLK_USB3_GRF>;
clock-names = "ref_clk", "suspend_clk",
"bus_clk", "aclk_usb3_rksoc_axi_perf",
"aclk_usb3", "grf_clk";
resets = <&cru SRST_A_USB3_OTG0>;
reset-names = "usb3-otg";
usb@fe800000 {
compatible = "snps,dwc3";
reg = <0x0 0xfe800000 0x0 0x100000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru SCLK_USB3OTG0_REF>, <&cru ACLK_USB3OTG0>,
<&cru SCLK_USB3OTG0_SUSPEND>;
clock-names = "ref", "bus_early", "suspend";
dr_mode = "otg";
phys = <&u2phy0_otg>, <&tcphy0_usb3>;
phy-names = "usb2-phy", "usb3-phy";
phy_type = "utmi_wide";
snps,dis_enblslpm_quirk;
snps,dis-u2-freeclk-exists-quirk;
snps,dis_u2_susphy_quirk;
snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk;
power-domains = <&power RK3399_PD_USB3>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0