Lines Matching +full:g12a +full:- +full:usb2 +full:- +full:phy
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
25 The Amlogic A1 embeds a DWC3 USB IP Core configured for USB2 in
26 host-only mode.
28 The Amlogic GXL, GXM & AXG SoCs doesn't embed an USB3 PHY.
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:
113 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
114 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
115 - const: usb3-phy0 # USB3 PHY if USB3_0 is used
116 - if:
120 - amlogic,meson-gxl-usb-ctrl
126 clock-names:
128 - const: usb_ctrl
129 - const: ddr
130 phy-names:
132 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
133 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
135 - clock-names
136 - if:
140 - amlogic,meson-gxm-usb-ctrl
146 clock-names:
148 - const: usb_ctrl
149 - const: ddr
150 phy-names:
152 - const: usb2-phy0 # USB2 PHY0 if USBHOST_A port is used
153 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
154 - const: usb2-phy2 # USB2 PHY2 if USBOTG_C port is used
157 - clock-names
158 - if:
162 - amlogic,meson-axg-usb-ctrl
166 phy-names:
168 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
171 clock-names:
173 - const: usb_ctrl
174 - const: ddr
176 - clock-names
177 - if:
181 - amlogic,meson-a1-usb-ctrl
185 phy-names:
187 - const: usb2-phy1 # USB2 PHY1 if USBOTG_B port is used
190 clock-names:
192 - const: usb_ctrl
193 - const: usb_bus
194 - const: xtal_usb_ctrl
196 - clock-names
199 - |
201 compatible = "amlogic,meson-g12a-usb-ctrl";
204 #address-cells = <1>;
205 #size-cells = <1>;
214 phy-names = "usb2-phy0", "usb2-phy1", "usb3-phy0";
217 compatible = "amlogic,meson-g12a-usb", "snps,dwc2";
221 clock-names = "otg";
224 g-rx-fifo-size = <192>;
225 g-np-tx-fifo-size = <128>;
226 g-tx-fifo-size = <128 128 16 16 16>;
235 snps,quirk-frame-length-adjustment = <0x20>;