Lines Matching +full:usb +full:- +full:glue
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Amlogic Meson G12A DWC3 USB SoC Controller Glue
11 - Neil Armstrong <neil.armstrong@linaro.org>
14 The Amlogic G12A embeds a DWC3 USB IP Core configured for USB2 and USB3
15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode
18 A glue connects the DWC3 core to USB2 PHYs and optionally to an USB3 PHY.
20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP.
22 The DWC3 Glue controls the PHY routing and power, an interrupt line is
23 connected to the Glue to serve as OTG ID change detection.
25 The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in
26 host-only mode.
33 - amlogic,meson-gxl-usb-ctrl
34 - amlogic,meson-gxm-usb-ctrl
35 - amlogic,meson-axg-usb-ctrl
36 - amlogic,meson-g12a-usb-ctrl
37 - amlogic,meson-a1-usb-ctrl
41 "#address-cells":
44 "#size-cells":
51 clock-names:
64 phy-names:
74 power-domains:
77 vbus-supply:
81 "^usb@[0-9a-f]+$":
83 - $ref: dwc2.yaml#
84 - $ref: snps,dwc3.yaml#
89 - compatible
90 - "#address-cells"
91 - "#size-cells"
92 - ranges
93 - clocks
94 - resets
95 - reg
96 - interrupts
97 - phy-names
98 - phys
99 - dr_mode
102 - if:
106 - amlogic,meson-g12a-usb-ctrl
110 phy-names:
112 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
113 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
114 - const: usb3-phy0 # USB3 PHY if USB3_0 is used
115 - if:
119 - amlogic,meson-gxl-usb-ctrl
125 clock-names:
127 - const: usb_ctrl
128 - const: ddr
129 phy-names:
131 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
132 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
134 - clock-names
135 - if:
139 - amlogic,meson-gxm-usb-ctrl
145 clock-names:
147 - const: usb_ctrl
148 - const: ddr
149 phy-names:
151 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
152 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
153 - const: usb2-phy2 # USB2 PHY2 if USBOTG_C port is used
156 - clock-names
157 - if:
161 - amlogic,meson-axg-usb-ctrl
165 phy-names:
167 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
170 clock-names:
172 - const: usb_ctrl
173 - const: ddr
175 - clock-names
176 - if:
180 - amlogic,meson-a1-usb-ctrl
184 phy-names:
186 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
189 clock-names:
191 - const: usb_ctrl
192 - const: usb_bus
193 - const: xtal_usb_ctrl
195 - clock-names
198 - |
199 usb: usb@ffe09000 {
200 compatible = "amlogic,meson-g12a-usb-ctrl";
203 #address-cells = <1>;
204 #size-cells = <1>;
213 phy-names = "usb2-phy0", "usb2-phy1", "usb3-phy0";
215 dwc2: usb@ff400000 {
216 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
220 clock-names = "otg";
223 g-rx-fifo-size = <192>;
224 g-np-tx-fifo-size = <128>;
225 g-tx-fifo-size = <128 128 16 16 16>;
228 dwc3: usb@ff500000 {
234 snps,quirk-frame-length-adjustment = <0x20>;