1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SuperSpeed DWC3 USB SoC controller
10 - Manu Gautam <mgautam@codeaurora.org>
42 description: Offset and length of register set for QSCRATCH wrapper
54 description: specifies a phandle to PM domain provider node
59 Several clocks are used, depending on the variant. Typical ones are::
60 - cfg_noc:: System Config NOC clock.
61 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >=
62 60MHz for HS operation.
63 - iface:: System bus AXI clock.
64 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low
66 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host
67 mode. Its frequency should be 19.2MHz.
77 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
78 - description: Phandle and clock specifoer of MASTER_CLK.
82 - description: Must be 19.2MHz (19200000).
83 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
97 - description: The interrupt that is asserted
98 when a wakeup event is received on USB2 bus.
99 - description: The interrupt that is asserted
100 when a wakeup event is received on USB3 bus.
101 - description: Wakeup event on DM line.
102 - description: Wakeup event on DP line.
108 - const: dm_hs_phy_irq
109 - const: dp_hs_phy_irq
111 qcom,select-utmi-as-pipe-clk:
113 If present, disable USB3 pipe_clk requirement.
114 Used when dwc3 operates without SSPHY and only
115 HS/FS/LS modes are supported.
118 # Required child node:
122 $ref: snps,dwc3.yaml#
163 - description: Master/Core clock, has to be >= 125 MHz
164 for SS operation and >= 60MHz for HS operation.
315 additionalProperties: false
319 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
320 #include <dt-bindings/interrupt-controller/arm-gic.h>
321 #include <dt-bindings/interrupt-controller/irq.h>
323 #address-cells = <2>;
327 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
328 reg = <0 0x0a6f8800 0 0x400>;
330 #address-cells = <2>;
333 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
334 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
335 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
336 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
337 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
338 clock-names = "cfg_noc",
344 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
345 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
346 assigned-clock-rates = <19200000>, <150000000>;
348 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
352 interrupt-names = "hs_phy_irq", "ss_phy_irq",
353 "dm_hs_phy_irq", "dp_hs_phy_irq";
355 power-domains = <&gcc USB30_PRIM_GDSC>;
357 resets = <&gcc GCC_USB30_PRIM_BCR>;
360 compatible = "snps,dwc3";
361 reg = <0 0x0a600000 0 0xcd00>;
362 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
363 iommus = <&apps_smmu 0x740 0>;
364 snps,dis_u2_susphy_quirk;
365 snps,dis_enblslpm_quirk;
366 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
367 phy-names = "usb2-phy", "usb3-phy";