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>
47 description: Offset and length of register set for QSCRATCH wrapper
59 description: specifies a phandle to PM domain provider node
67 Several clocks are used, depending on the variant. Typical ones are::
68 - cfg_noc:: System Config NOC clock.
69 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >=
70 60MHz for HS operation.
71 - iface:: System bus AXI clock.
72 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low
74 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host
75 mode. Its frequency should be 19.2MHz.
85 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
86 - description: Phandle and clock specifoer of MASTER_CLK.
90 - description: Must be 19.2MHz (19200000).
91 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
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.
120 # Required child node:
124 $ref: snps,dwc3.yaml#
125 unevaluatedProperties: false
169 - description: Master/Core clock, has to be >= 125 MHz
170 for SS operation and >= 60MHz for HS operation.
277 - const: noc_aggr_north
278 - const: noc_aggr_south
374 - description: The interrupt that is asserted
375 when a wakeup event is received on USB2 bus.
376 - description: The interrupt that is asserted
377 when a wakeup event is received on USB3 bus.
378 - description: Wakeup event on DM line.
379 - description: Wakeup event on DP line.
384 - const: dm_hs_phy_irq
385 - const: dp_hs_phy_irq
437 - const: dp_hs_phy_irq
438 - const: dm_hs_phy_irq
454 - const: dp_hs_phy_irq
455 - const: dm_hs_phy_irq
458 additionalProperties: false
462 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
463 #include <dt-bindings/interrupt-controller/arm-gic.h>
464 #include <dt-bindings/interrupt-controller/irq.h>
466 #address-cells = <2>;
470 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
471 reg = <0 0x0a6f8800 0 0x400>;
473 #address-cells = <2>;
476 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
477 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
478 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
479 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
480 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
481 clock-names = "cfg_noc",
487 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
488 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
489 assigned-clock-rates = <19200000>, <150000000>;
491 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
492 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
493 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
494 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
495 interrupt-names = "hs_phy_irq", "ss_phy_irq",
496 "dm_hs_phy_irq", "dp_hs_phy_irq";
498 power-domains = <&gcc USB30_PRIM_GDSC>;
500 resets = <&gcc GCC_USB30_PRIM_BCR>;
503 compatible = "snps,dwc3";
504 reg = <0 0x0a600000 0 0xcd00>;
505 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
506 iommus = <&apps_smmu 0x740 0>;
507 snps,dis_u2_susphy_quirk;
508 snps,dis_enblslpm_quirk;
509 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
510 phy-names = "usb2-phy", "usb3-phy";