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>
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,xrx200-usb
51 - amlogic,meson-gxbb-usb
52 - amlogic,meson-g12a-usb
53 - intel,socfpga-agilex-hsotg
56 - const: apm,apm82181-dwc-otg
58 - const: st,stm32f4x9-fsotg
59 - const: st,stm32f4x9-hsotg
60 - const: st,stm32f7-hsotg
61 - const: st,stm32mp15-fsotg
63 - const: st,stm32mp15-hsotg
65 - const: samsung,s3c6400-hsotg
66 - const: intel,socfpga-agilex-hsotg
83 description: whether to disable detection of over-current condition.
90 - description: common reset
91 - description: ecc reset
110 description: reference to the VBUS regulator. Depending on the current mode
111 this is enabled (in "host" mode") or disabled (in "peripheral" mode). The
112 regulator is updated if the controller is configured in "otg" mode and the
113 status changes between "host" and "peripheral".
116 description: phandle to voltage regulator of digital section,
119 description: phandle to voltage regulator of analog section.
122 description: reference to the VBUS and ID sensing comparators supply, in
123 order to perform OTG operation, used on STM32MP15 SoCs.
133 usb-role-switch: true
135 role-switch-default-mode: true
138 $ref: /schemas/types.yaml#/definitions/uint32
139 description: size of rx fifo size in gadget mode.
142 $ref: /schemas/types.yaml#/definitions/uint32
143 description: size of non-periodic tx fifo size in gadget mode.
146 $ref: /schemas/types.yaml#/definitions/uint32-array
147 description: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
149 snps,need-phy-for-wake:
150 $ref: /schemas/types.yaml#/definitions/flag
151 description: If present indicates that the phy needs to be left on for
152 remote wakeup during suspend.
154 snps,reset-phy-on-wake:
155 $ref: /schemas/types.yaml#/definitions/flag
156 description: If present indicates that we need to reset the PHY when we
157 detect a wakeup. This is due to a hardware errata.
161 Any connector to the data bus of this controller should be modelled
162 using the OF graph bindings specified, if the "usb-role-switch"
164 $ref: /schemas/graph.yaml#/properties/port
169 port: [ usb-role-switch ]
170 role-switch-default-mode: [ usb-role-switch ]
179 additionalProperties: false
184 compatible = "rockchip,rk3066-usb", "snps,dwc2";
185 reg = <0x10180000 0x40000>;
187 clocks = <&usb_otg_ahb_clk>;
190 phy-names = "usb2-phy";