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
63 Several clocks are used, depending on the variant. Typical ones are::
64 - cfg_noc:: System Config NOC clock.
65 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >=
66 60MHz for HS operation.
67 - iface:: System bus AXI clock.
68 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low
70 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host
71 mode. Its frequency should be 19.2MHz.
81 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
82 - description: Phandle and clock specifoer of MASTER_CLK.
86 - description: Must be 19.2MHz (19200000).
87 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
107 qcom,select-utmi-as-pipe-clk:
109 If present, disable USB3 pipe_clk requirement.
110 Used when dwc3 operates without SSPHY and only
111 HS/FS/LS modes are supported.
116 # Required child node:
120 $ref: snps,dwc3.yaml#
164 - description: Master/Core clock, has to be >= 125 MHz
165 for SS operation and >= 60MHz for HS operation.
272 - const: noc_aggr_north
273 - const: noc_aggr_south
368 - description: The interrupt that is asserted
369 when a wakeup event is received on USB2 bus.
370 - description: The interrupt that is asserted
371 when a wakeup event is received on USB3 bus.
372 - description: Wakeup event on DM line.
373 - description: Wakeup event on DP line.
378 - const: dm_hs_phy_irq
379 - const: dp_hs_phy_irq
431 - const: dp_hs_phy_irq
432 - const: dm_hs_phy_irq
448 - const: dp_hs_phy_irq
449 - const: dm_hs_phy_irq
452 additionalProperties: false
456 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
457 #include <dt-bindings/interrupt-controller/arm-gic.h>
458 #include <dt-bindings/interrupt-controller/irq.h>
460 #address-cells = <2>;
464 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
465 reg = <0 0x0a6f8800 0 0x400>;
467 #address-cells = <2>;
470 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
471 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
472 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
473 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
474 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
475 clock-names = "cfg_noc",
481 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
482 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
483 assigned-clock-rates = <19200000>, <150000000>;
485 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
486 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
487 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
488 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
489 interrupt-names = "hs_phy_irq", "ss_phy_irq",
490 "dm_hs_phy_irq", "dp_hs_phy_irq";
492 power-domains = <&gcc USB30_PRIM_GDSC>;
494 resets = <&gcc GCC_USB30_PRIM_BCR>;
497 compatible = "snps,dwc3";
498 reg = <0 0x0a600000 0 0xcd00>;
499 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
500 iommus = <&apps_smmu 0x740 0>;
501 snps,dis_u2_susphy_quirk;
502 snps,dis_enblslpm_quirk;
503 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
504 phy-names = "usb2-phy", "usb3-phy";