Lines Matching +full:otg +full:- +full:port
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or
22 super-speed USB. Other lanes are for various types of low-speed, full-speed
23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller
24 contains a software-configurable mux that sits between the I/O controller
27 In addition to per-lane configuration, USB 3.0 ports may require additional
28 settings on a per-board basis.
30 Pads will be represented as children of the top-level XUSB pad controller
33 PHY bindings, as described by the phy-bindings.txt file in this directory.
37 "port" is typically used to denote the physical USB receptacle. The device
38 tree binding in this document uses the term "port" to refer to the logical
40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for
46 - nvidia,tegra194-xusb-padctl
47 - nvidia,tegra234-xusb-padctl
51 - description: pad controller registers
52 - description: AO registers
54 reg-names:
56 - const: padctl
57 - const: ao
61 - description: XUSB pad controller interrupt
65 - description: pad controller reset
67 reset-names:
69 - const: padctl
71 avdd-usb-supply:
72 description: USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must
75 vclamp-usb-supply:
97 - description: USB2 tracking clock
99 clock-names:
101 - const: trk
107 usb2-0:
111 "#phy-cells":
119 usb2-1:
123 "#phy-cells":
131 usb2-2:
135 "#phy-cells":
143 usb2-3:
147 "#phy-cells":
163 usb3-0:
167 "#phy-cells":
175 usb3-1:
179 "#phy-cells":
187 usb3-2:
191 "#phy-cells":
199 usb3-3:
203 "#phy-cells":
214 Each port may need additional resources that can be referenced in its
215 port node.
217 The "status" property is used to enable or disable the use of a port.
218 If set to "disabled", the port will not be used on the given board. In
219 order to use the port, this property must be set to "okay".
223 usb2-0:
228 # match on gpio-usb-b-connector or usb-b-connector and cause
235 run the port.
237 enum: [ host, peripheral, otg ]
241 that a port is internal. In the absence of this property
242 the port is considered to be external.
245 usb-role-switch:
247 A boolean property whole presence indicates that the port
248 supports OTG or peripheral mode. If present, the port
252 See ../connector/usb-connector.yaml.
254 vbus-supply:
259 usb-role-switch: [ connector ]
261 usb2-1:
266 # match on gpio-usb-b-connector or usb-b-connector and cause
273 run the port.
275 enum: [ host, peripheral, otg ]
279 that a port is internal. In the absence of this property
280 the port is considered to be external.
283 usb-role-switch:
285 A boolean property whole presence indicates that the port
286 supports OTG or peripheral mode. If present, the port
290 See ../connector/usb-connector.yaml.
292 vbus-supply:
297 usb-role-switch: [ connector ]
299 usb2-2:
304 # match on gpio-usb-b-connector or usb-b-connector and cause
311 run the port.
313 enum: [ host, peripheral, otg ]
317 that a port is internal. In the absence of this property
318 the port is considered to be external.
321 usb-role-switch:
323 A boolean property whole presence indicates that the port
324 supports OTG or peripheral mode. If present, the port
328 See ../connector/usb-connector.yaml.
330 vbus-supply:
335 usb-role-switch: [ connector ]
337 usb2-3:
342 # match on gpio-usb-b-connector or usb-b-connector and cause
349 run the port.
351 enum: [ host, peripheral, otg ]
355 that a port is internal. In the absence of this property
356 the port is considered to be external.
359 usb-role-switch:
361 A boolean property whole presence indicates that the port
362 supports OTG or peripheral mode. If present, the port
366 See ../connector/usb-connector.yaml.
368 vbus-supply:
373 usb-role-switch: [ connector ]
375 usb3-0:
379 maximum-speed:
381 supported speed of a USB3 port.
384 - description: The USB3 port supports USB 3.1 Gen 2 speed.
386 const: super-speed-plus
387 - description: The USB3 port supports USB 3.1 Gen 1 speed
389 const: super-speed
393 that a port is internal. In the absence of this property
394 the port is considered to be external.
397 nvidia,usb2-companion:
398 description: A single cell that specifies the physical port
399 number to map this super-speed USB port to. The range of
400 valid port numbers varies with the SoC generation.
404 vbus-supply:
408 usb3-1:
412 maximum-speed:
414 supported speed of a USB3 port.
417 - description: The USB3 port supports USB 3.1 Gen 2 speed.
419 const: super-speed-plus
420 - description: The USB3 port supports USB 3.1 Gen 1 speed
422 const: super-speed
426 that a port is internal. In the absence of this property
427 the port is considered to be external.
430 nvidia,usb2-companion:
431 description: A single cell that specifies the physical port
432 number to map this super-speed USB port to. The range of
433 valid port numbers varies with the SoC generation.
437 vbus-supply:
441 usb3-2:
445 maximum-speed:
447 supported speed of a USB3 port.
450 - description: The USB3 port supports USB 3.1 Gen 2 speed.
452 const: super-speed-plus
453 - description: The USB3 port supports USB 3.1 Gen 1 speed
455 const: super-speed
459 that a port is internal. In the absence of this property
460 the port is considered to be external.
463 nvidia,usb2-companion:
464 description: A single cell that specifies the physical port
465 number to map this super-speed USB port to. The range of
466 valid port numbers varies with the SoC generation.
470 vbus-supply:
474 usb3-3:
478 maximum-speed:
480 supported speed of a USB3 port.
483 - description: The USB3 port supports USB 3.1 Gen 2 speed.
485 const: super-speed-plus
486 - description: The USB3 port supports USB 3.1 Gen 1 speed
488 const: super-speed
492 that a port is internal. In the absence of this property
493 the port is considered to be external.
496 nvidia,usb2-companion:
497 description: A single cell that specifies the physical port
498 number to map this super-speed USB port to. The range of
499 valid port numbers varies with the SoC generation.
503 vbus-supply:
510 - compatible
511 - reg
512 - resets
513 - reset-names
514 - avdd-usb-supply
515 - vclamp-usb-supply
518 - |
519 #include <dt-bindings/clock/tegra194-clock.h>
520 #include <dt-bindings/gpio/tegra194-gpio.h>
521 #include <dt-bindings/interrupt-controller/arm-gic.h>
522 #include <dt-bindings/reset/tegra194-reset.h>
525 compatible = "nvidia,tegra194-xusb-padctl";
528 reg-names = "padctl", "ao";
532 reset-names = "padctl";
534 avdd-usb-supply = <&vdd_usb_3v3>;
535 vclamp-usb-supply = <&vdd_1v8ao>;
540 clock-names = "trk";
543 usb2-0 {
546 #phy-cells = <0>;
549 usb2-1 {
551 #phy-cells = <0>;
554 usb2-2 {
557 #phy-cells = <0>;
560 usb2-3 {
562 #phy-cells = <0>;
569 usb3-0 {
571 #phy-cells = <0>;
574 usb3-1 {
577 #phy-cells = <0>;
580 usb3-2 {
583 #phy-cells = <0>;
586 usb3-3 {
588 #phy-cells = <0>;
595 usb2-0 {
599 usb2-1 {
600 vbus-supply = <&vdd_5v0_sys>;
604 usb2-2 {
608 usb2-3 {
609 vbus-supply = <&vdd_5v_sata>;
613 usb3-0 {
614 vbus-supply = <&vdd_5v0_sys>;
615 nvidia,usb2-companion = <1>;
618 usb3-1 {
622 usb3-2 {
626 usb3-3 {
627 maximum-speed = "super-speed";
628 vbus-supply = <&vdd_5v0_sys>;
629 nvidia,usb2-companion = <3>;