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 Bindings
10 - Rob Herring <robh@kernel.org>
18 - const: brcm,bcm2835-usb
19 - const: hisilicon,hi6220-usb
20 - const: ingenic,jz4775-otg
21 - const: ingenic,jz4780-otg
22 - const: ingenic,x1000-otg
23 - const: ingenic,x1600-otg
24 - const: ingenic,x1700-otg
25 - const: ingenic,x1830-otg
26 - const: ingenic,x2000-otg
28 - const: rockchip,rk3066-usb
41 - const: rockchip,rk3066-usb
43 - const: lantiq,arx100-usb
44 - const: lantiq,xrx200-usb
49 - amlogic,meson-gxbb-usb
50 - amlogic,meson-g12a-usb
51 - intel,socfpga-agilex-hsotg
54 - const: apm,apm82181-dwc-otg
56 - const: st,stm32f4x9-fsotg
57 - const: st,stm32f4x9-hsotg
58 - const: st,stm32f7-hsotg
59 - const: st,stm32mp15-fsotg
61 - const: st,stm32mp15-hsotg
63 - const: samsung,s3c6400-hsotg
64 - const: intel,socfpga-agilex-hsotg
81 description: whether to disable detection of over-current condition.
88 - description: common reset
89 - description: ecc reset
108 description: reference to the VBUS regulator. Depending on the current mode
109 this is enabled (in "host" mode") or disabled (in "peripheral" mode). The
110 regulator is updated if the controller is configured in "otg" mode and the
111 status changes between "host" and "peripheral".
114 description: phandle to voltage regulator of digital section,
117 description: phandle to voltage regulator of analog section.
120 description: reference to the VBUS and ID sensing comparators supply, in
121 order to perform OTG operation, used on STM32MP15 SoCs.
131 usb-role-switch: true
133 role-switch-default-mode: true
136 $ref: /schemas/types.yaml#/definitions/uint32
137 description: size of rx fifo size in gadget mode.
140 $ref: /schemas/types.yaml#/definitions/uint32
141 description: size of non-periodic tx fifo size in gadget mode.
144 $ref: /schemas/types.yaml#/definitions/uint32-array
145 description: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
147 snps,need-phy-for-wake:
148 $ref: /schemas/types.yaml#/definitions/flag
149 description: If present indicates that the phy needs to be left on for
150 remote wakeup during suspend.
152 snps,reset-phy-on-wake:
153 $ref: /schemas/types.yaml#/definitions/flag
154 description: If present indicates that we need to reset the PHY when we
155 detect a wakeup. This is due to a hardware errata.
159 Any connector to the data bus of this controller should be modelled
160 using the OF graph bindings specified, if the "usb-role-switch"
162 $ref: /schemas/graph.yaml#/properties/port
165 port: [ usb-role-switch ]
166 role-switch-default-mode: [ usb-role-switch ]
175 additionalProperties: false
180 compatible = "rockchip,rk3066-usb", "snps,dwc2";
181 reg = <0x10180000 0x40000>;
183 clocks = <&usb_otg_ahb_clk>;
186 phy-names = "usb2-phy";