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>
46 description: Offset and length of register set for QSCRATCH wrapper
58 description: specifies a phandle to PM domain provider node
66 Several clocks are used, depending on the variant. Typical ones are::
67 - cfg_noc:: System Config NOC clock.
68 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >=
69 60MHz for HS operation.
70 - iface:: System bus AXI clock.
71 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low
73 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host
74 mode. Its frequency should be 19.2MHz.
84 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
85 - description: Phandle and clock specifoer of MASTER_CLK.
89 - description: Must be 19.2MHz (19200000).
90 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
110 qcom,select-utmi-as-pipe-clk:
112 If present, disable USB3 pipe_clk requirement.
113 Used when dwc3 operates without SSPHY and only
114 HS/FS/LS modes are supported.
119 # Required child node:
123 $ref: snps,dwc3.yaml#
167 - description: Master/Core clock, has to be >= 125 MHz
168 for SS operation and >= 60MHz for HS operation.
275 - const: noc_aggr_north
276 - const: noc_aggr_south
371 - description: The interrupt that is asserted
372 when a wakeup event is received on USB2 bus.
373 - description: The interrupt that is asserted
374 when a wakeup event is received on USB3 bus.
375 - description: Wakeup event on DM line.
376 - description: Wakeup event on DP line.
381 - const: dm_hs_phy_irq
382 - const: dp_hs_phy_irq
434 - const: dp_hs_phy_irq
435 - const: dm_hs_phy_irq
451 - const: dp_hs_phy_irq
452 - const: dm_hs_phy_irq
455 additionalProperties: false
459 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
460 #include <dt-bindings/interrupt-controller/arm-gic.h>
461 #include <dt-bindings/interrupt-controller/irq.h>
463 #address-cells = <2>;
467 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
468 reg = <0 0x0a6f8800 0 0x400>;
470 #address-cells = <2>;
473 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
474 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
475 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
476 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
477 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
478 clock-names = "cfg_noc",
484 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
485 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
486 assigned-clock-rates = <19200000>, <150000000>;
488 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
489 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
490 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
491 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
492 interrupt-names = "hs_phy_irq", "ss_phy_irq",
493 "dm_hs_phy_irq", "dp_hs_phy_irq";
495 power-domains = <&gcc USB30_PRIM_GDSC>;
497 resets = <&gcc GCC_USB30_PRIM_BCR>;
500 compatible = "snps,dwc3";
501 reg = <0 0x0a600000 0 0xcd00>;
502 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
503 iommus = <&apps_smmu 0x740 0>;
504 snps,dis_u2_susphy_quirk;
505 snps,dis_enblslpm_quirk;
506 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
507 phy-names = "usb2-phy", "usb3-phy";