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 - Wesley Cheng <quic_wcheng@quicinc.com>
45 description: Offset and length of register set for QSCRATCH wrapper
57 description: specifies a phandle to PM domain provider node
62 Several clocks are used, depending on the variant. Typical ones are::
63 - cfg_noc:: System Config NOC clock.
64 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >=
65 60MHz for HS operation.
66 - iface:: System bus AXI clock.
67 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low
69 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host
70 mode. Its frequency should be 19.2MHz.
80 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
81 - description: Phandle and clock specifoer of MASTER_CLK.
85 - description: Must be 19.2MHz (19200000).
86 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
106 qcom,select-utmi-as-pipe-clk:
108 If present, disable USB3 pipe_clk requirement.
109 Used when dwc3 operates without SSPHY and only
110 HS/FS/LS modes are supported.
115 # Required child node:
119 $ref: snps,dwc3.yaml#
163 - description: Master/Core clock, has to be >= 125 MHz
164 for SS operation and >= 60MHz for HS operation.
271 - const: noc_aggr_north
272 - const: noc_aggr_south
365 - description: The interrupt that is asserted
366 when a wakeup event is received on USB2 bus.
367 - description: The interrupt that is asserted
368 when a wakeup event is received on USB3 bus.
369 - description: Wakeup event on DM line.
370 - description: Wakeup event on DP line.
375 - const: dm_hs_phy_irq
376 - const: dp_hs_phy_irq
428 - const: dp_hs_phy_irq
429 - const: dm_hs_phy_irq
445 - const: dp_hs_phy_irq
446 - const: dm_hs_phy_irq
449 additionalProperties: false
453 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
454 #include <dt-bindings/interrupt-controller/arm-gic.h>
455 #include <dt-bindings/interrupt-controller/irq.h>
457 #address-cells = <2>;
461 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
462 reg = <0 0x0a6f8800 0 0x400>;
464 #address-cells = <2>;
467 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
468 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
469 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
470 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
471 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
472 clock-names = "cfg_noc",
478 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
479 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
480 assigned-clock-rates = <19200000>, <150000000>;
482 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
483 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
484 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
485 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
486 interrupt-names = "hs_phy_irq", "ss_phy_irq",
487 "dm_hs_phy_irq", "dp_hs_phy_irq";
489 power-domains = <&gcc USB30_PRIM_GDSC>;
491 resets = <&gcc GCC_USB30_PRIM_BCR>;
494 compatible = "snps,dwc3";
495 reg = <0 0x0a600000 0 0xcd00>;
496 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
497 iommus = <&apps_smmu 0x740 0>;
498 snps,dis_u2_susphy_quirk;
499 snps,dis_enblslpm_quirk;
500 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
501 phy-names = "usb2-phy", "usb3-phy";