1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/usb/dwc2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: DesignWare HS OTG USB 2.0 controller
10 - Rob Herring <robh@kernel.org>
19 - const: brcm,bcm2835-usb
20 - const: hisilicon,hi6220-usb
21 - const: ingenic,jz4775-otg
22 - const: ingenic,jz4780-otg
23 - const: ingenic,x1000-otg
24 - const: ingenic,x1600-otg
25 - const: ingenic,x1700-otg
26 - const: ingenic,x1830-otg
27 - const: ingenic,x2000-otg
29 - const: rockchip,rk3066-usb
43 - const: rockchip,rk3066-usb
45 - const: lantiq,arx100-usb
46 - const: lantiq,ase-usb
47 - const: lantiq,danube-usb
48 - const: lantiq,xrx200-usb
49 - const: lantiq,xrx300-usb
54 - amlogic,meson-gxbb-usb
55 - amlogic,meson-g12a-usb
56 - amlogic,meson-a1-usb
57 - intel,socfpga-agilex-hsotg
60 - const: apm,apm82181-dwc-otg
62 - const: st,stm32f4x9-fsotg
63 - const: st,stm32f4x9-hsotg
64 - const: st,stm32f7-hsotg
65 - const: st,stm32mp15-fsotg
67 - const: st,stm32mp15-hsotg
69 - const: samsung,s3c6400-hsotg
70 - const: intel,socfpga-agilex-hsotg
90 description: whether to disable detection of over-current condition.
97 - description: common reset
98 - description: ecc reset
117 description: reference to the VBUS regulator. Depending on the current mode
118 this is enabled (in "host" mode") or disabled (in "peripheral" mode). The
119 regulator is updated if the controller is configured in "otg" mode and the
120 status changes between "host" and "peripheral".
123 description: phandle to voltage regulator of digital section,
126 description: phandle to voltage regulator of analog section.
129 description: reference to the VBUS and ID sensing comparators supply, in
130 order to perform OTG operation, used on STM32MP15 SoCs.
140 usb-role-switch: true
142 role-switch-default-mode: true
145 $ref: /schemas/types.yaml#/definitions/uint32
146 description: size of rx fifo size in gadget mode.
149 $ref: /schemas/types.yaml#/definitions/uint32
150 description: size of non-periodic tx fifo size in gadget mode.
153 $ref: /schemas/types.yaml#/definitions/uint32-array
154 description: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
156 snps,need-phy-for-wake:
157 $ref: /schemas/types.yaml#/definitions/flag
158 description: If present indicates that the phy needs to be left on for
159 remote wakeup during suspend.
161 snps,reset-phy-on-wake:
162 $ref: /schemas/types.yaml#/definitions/flag
163 description: If present indicates that we need to reset the PHY when we
164 detect a wakeup. This is due to a hardware errata.
168 Any connector to the data bus of this controller should be modelled
169 using the OF graph bindings specified, if the "usb-role-switch"
171 $ref: /schemas/graph.yaml#/properties/port
176 port: [ usb-role-switch ]
177 role-switch-default-mode: [ usb-role-switch ]
186 additionalProperties: false
191 compatible = "rockchip,rk3066-usb", "snps,dwc2";
192 reg = <0x10180000 0x40000>;
194 clocks = <&usb_otg_ahb_clk>;
197 phy-names = "usb2-phy";