Lines Matching +full:usb +full:- +full:connector
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: USB Connector
10 - Rob Herring <robh@kernel.org>
13 A USB connector node represents a physical USB connector. It should be a child
14 of a USB interface controller or a separate node when it is attached to both
15 MUX and USB interface controller.
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
26 - const: gpio-usb-b-connector
27 - const: usb-b-connector
29 - items:
30 - const: samsung,usb-connector-11pin
31 - const: usb-b-connector
37 description: Symbolic name for the connector.
40 description: Size of the connector, should be specified in case of
41 non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
46 - mini
47 - micro
49 self-powered:
50 description: Set this property if the USB device has its own power source.
53 # The following are optional properties for "usb-b-connector".
54 id-gpios:
55 description: An input gpio for USB ID pin.
58 vbus-gpios:
59 description: An input gpio for USB VBus pin, used to detect presence of
63 vbus-supply:
64 description: A phandle to the regulator for USB VBUS if needed when host
67 model it as a regulator. See bindings/regulator/fixed-regulator.yaml
69 # The following are optional properties for "usb-c-connector".
70 power-role:
71 description: Determines the power role that the Type C connector will
76 - source
77 - sink
78 - dual
80 try-power-role:
85 - source
86 - sink
87 - dual
89 data-role:
90 description: Data role if Type C connector supports USB data. "dual" refers
95 - host
96 - device
97 - dual
99 typec-power-opmode:
100 description: Determines the power operation mode that the Type C connector
103 - "default" corresponds to default USB voltage and current defined by the
104 USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and
105 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
107 - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
108 Type-C Cable and Connector specification, when Power Delivery is not
112 - default
113 - 1.5A
114 - 3.0A
116 pd-disable:
117 description: Set this property if the Type-C connector has no power delivery support.
120 # The following are optional properties for "usb-c-connector" with power
122 source-pdos:
129 defined in dt-bindings/usb/pd.h.
132 $ref: /schemas/types.yaml#/definitions/uint32-array
134 sink-pdos:
141 in dt-bindings/usb/pd.h.
144 $ref: /schemas/types.yaml#/definitions/uint32-array
146 sink-vdos:
150 "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
153 dt-bindings/usb/pd.h.
156 $ref: /schemas/types.yaml#/definitions/uint32-array
158 sink-vdos-v1:
162 "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
164 dt-bindings/usb/pd.h.
167 $ref: /schemas/types.yaml#/definitions/uint32-array
169 op-sink-microwatt:
176 description: OF graph bindings modeling a data bus to the connector, e.g.
177 there is a single High Speed (HS) port present in this connector. If there
183 description: OF graph bindings modeling any data bus to the connector
184 unless the bus is between parent node and the connector. Since a single
185 connector can have multiple data buses every bus has an assigned OF graph
199 description: Sideband Use (SBU), present in USB-C. This describes the
203 - port@0
205 new-source-frs-typec-current:
207 is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
208 of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
209 different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
218 "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
224 slow-charger-loop:
227 state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
228 Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
231 SNK_READY for non-pd link.
235 sink-vdos-v1: [ sink-vdos ]
236 sink-vdos: [ sink-vdos-v1 ]
239 - compatible
242 - if:
246 const: gpio-usb-b-connector
249 - required:
250 - vbus-gpios
251 - required:
252 - id-gpios
254 - if:
258 const: samsung,usb-connector-11pin
265 - not:
267 - typec-power-opmode
268 - new-source-frs-typec-current
273 # Micro-USB connector with HS lines routed via controller (MUIC).
274 - |
275 muic-max77843 {
276 usb_con1: connector {
277 compatible = "usb-b-connector";
278 label = "micro-USB";
283 # USB-C connector attached to CC controller (s2mm005), HS lines routed
285 # DisplayPort video lines are routed to the connector via SS mux in USB3 PHY.
286 - |
288 usb_con2: connector {
289 compatible = "usb-c-connector";
290 label = "USB-C";
293 #address-cells = <1>;
294 #size-cells = <0>;
299 remote-endpoint = <&max77865_usbc_hs>;
305 remote-endpoint = <&usbdrd_phy_ss>;
311 remote-endpoint = <&dp_aux>;
318 # USB-C connector attached to a typec port controller(ptn5110), which has
320 - |
321 #include <dt-bindings/usb/pd.h>
323 usb_con3: connector {
324 compatible = "usb-c-connector";
325 label = "USB-C";
326 power-role = "dual";
327 try-power-role = "sink";
328 source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
329 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
331 op-sink-microwatt = <10000000>;
335 # USB-C connector attached to SoC with a single High-Speed controller
336 - |
337 connector {
338 compatible = "usb-c-connector";
339 label = "USB-C";
343 remote-endpoint = <&usb_hs_ep>;
348 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
351 - |
352 connector {
353 compatible = "usb-c-connector";
354 label = "USB-C";
355 data-role = "dual";
358 #address-cells = <1>;
359 #size-cells = <0>;
363 remote-endpoint = <&usb3_hs_ep>;
369 remote-endpoint = <&hd3ss3220_in_ep>;
375 # USB connector with GPIO control lines
376 - |
377 #include <dt-bindings/gpio/gpio.h>
379 usb {
380 connector {
381 compatible = "gpio-usb-b-connector", "usb-b-connector";
383 id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
384 vbus-supply = <&usb_p0_vbus>;
388 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
389 # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
391 - |
392 muic-max77843 {
393 usb_con4: connector {
394 compatible = "samsung,usb-connector-11pin", "usb-b-connector";
395 label = "micro-USB";
399 #address-cells = <1>;
400 #size-cells = <0>;
405 remote-endpoint = <&usb_to_muic>;
411 remote-endpoint = <&sii8620_mhl>;