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>
23 description: Offset and length of register set for QSCRATCH wrapper
35 description: specifies a phandle to PM domain provider node
40 A list of phandle and clock-specifier pairs for the clocks
41 listed in clock-names.
43 - description: System Config NOC clock.
44 - description: Master/Core clock, has to be >= 125 MHz
45 for SS operation and >= 60MHz for HS operation.
46 - description: System bus AXI clock.
47 - description: Mock utmi clock needed for ITP/SOF generation
48 in host mode. Its frequency should be 19.2MHz.
49 - description: Sleep clock, used for wakeup when
50 USB3 core goes into low power mode (U3).
62 - description: Phandle and clock specifier of MOCK_UTMI_CLK.
63 - description: Phandle and clock specifoer of MASTER_CLK.
67 - description: Must be 19.2MHz (19200000).
68 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode.
82 - description: The interrupt that is asserted
83 when a wakeup event is received on USB2 bus.
84 - description: The interrupt that is asserted
85 when a wakeup event is received on USB3 bus.
86 - description: Wakeup event on DM line.
87 - description: Wakeup event on DP line.
93 - const: dm_hs_phy_irq
94 - const: dp_hs_phy_irq
96 qcom,select-utmi-as-pipe-clk:
98 If present, disable USB3 pipe_clk requirement.
99 Used when dwc3 operates without SSPHY and only
100 HS/FS/LS modes are supported.
103 # Required child node:
109 A child node must exist to represent the core DWC3 IP block
110 The content of the node is defined in dwc3.txt.
124 additionalProperties: false
128 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
129 #include <dt-bindings/interrupt-controller/arm-gic.h>
130 #include <dt-bindings/interrupt-controller/irq.h>
132 #address-cells = <2>;
136 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
137 reg = <0 0x0a6f8800 0 0x400>;
139 #address-cells = <2>;
142 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
143 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
144 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
145 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
146 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
147 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
150 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
151 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
152 assigned-clock-rates = <19200000>, <150000000>;
154 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
155 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
156 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
157 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
158 interrupt-names = "hs_phy_irq", "ss_phy_irq",
159 "dm_hs_phy_irq", "dp_hs_phy_irq";
161 power-domains = <&gcc USB30_PRIM_GDSC>;
163 resets = <&gcc GCC_USB30_PRIM_BCR>;
166 compatible = "snps,dwc3";
167 reg = <0 0x0a600000 0 0xcd00>;
168 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
169 iommus = <&apps_smmu 0x740 0>;
170 snps,dis_u2_susphy_quirk;
171 snps,dis_enblslpm_quirk;
172 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
173 phy-names = "usb2-phy", "usb3-phy";