xref: /openbmc/linux/Documentation/devicetree/bindings/connector/usb-connector.yaml (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1431a30b7SPrashant Malani# SPDX-License-Identifier: GPL-2.0-only
2431a30b7SPrashant Malani%YAML 1.2
3431a30b7SPrashant Malani---
4431a30b7SPrashant Malani$id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5431a30b7SPrashant Malani$schema: http://devicetree.org/meta-schemas/core.yaml#
6431a30b7SPrashant Malani
7431a30b7SPrashant Malanititle: USB Connector
8431a30b7SPrashant Malani
9431a30b7SPrashant Malanimaintainers:
10431a30b7SPrashant Malani  - Rob Herring <robh@kernel.org>
11431a30b7SPrashant Malani
12431a30b7SPrashant Malanidescription:
13431a30b7SPrashant Malani  A USB connector node represents a physical USB connector. It should be a child
14588614beSBiju Das  of a USB interface controller or a separate node when it is attached to both
15588614beSBiju Das  MUX and USB interface controller.
16431a30b7SPrashant Malani
17431a30b7SPrashant Malaniproperties:
18431a30b7SPrashant Malani  compatible:
198f8986e9SThierry Reding    oneOf:
208f8986e9SThierry Reding      - enum:
21431a30b7SPrashant Malani          - usb-a-connector
22431a30b7SPrashant Malani          - usb-b-connector
23431a30b7SPrashant Malani          - usb-c-connector
24431a30b7SPrashant Malani
258f8986e9SThierry Reding      - items:
268f8986e9SThierry Reding          - const: gpio-usb-b-connector
278f8986e9SThierry Reding          - const: usb-b-connector
288f8986e9SThierry Reding
297c5798abSKrzysztof Kozlowski      - items:
307c5798abSKrzysztof Kozlowski          - const: samsung,usb-connector-11pin
317c5798abSKrzysztof Kozlowski          - const: usb-b-connector
327c5798abSKrzysztof Kozlowski
33e251a4e2SKrzysztof Kozlowski  reg:
34e251a4e2SKrzysztof Kozlowski    maxItems: 1
35e251a4e2SKrzysztof Kozlowski
36431a30b7SPrashant Malani  label:
37431a30b7SPrashant Malani    description: Symbolic name for the connector.
38431a30b7SPrashant Malani
39431a30b7SPrashant Malani  type:
40431a30b7SPrashant Malani    description: Size of the connector, should be specified in case of
41431a30b7SPrashant Malani      non-fullsize 'usb-a-connector' or 'usb-b-connector' compatible
42431a30b7SPrashant Malani      connectors.
43d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/string
443d21a460SRob Herring
45431a30b7SPrashant Malani    enum:
46431a30b7SPrashant Malani      - mini
47431a30b7SPrashant Malani      - micro
48431a30b7SPrashant Malani
49431a30b7SPrashant Malani  self-powered:
50431a30b7SPrashant Malani    description: Set this property if the USB device has its own power source.
51431a30b7SPrashant Malani    type: boolean
52431a30b7SPrashant Malani
53431a30b7SPrashant Malani  # The following are optional properties for "usb-b-connector".
54431a30b7SPrashant Malani  id-gpios:
55431a30b7SPrashant Malani    description: An input gpio for USB ID pin.
56431a30b7SPrashant Malani    maxItems: 1
57431a30b7SPrashant Malani
58431a30b7SPrashant Malani  vbus-gpios:
59431a30b7SPrashant Malani    description: An input gpio for USB VBus pin, used to detect presence of
60431a30b7SPrashant Malani      VBUS 5V.
61431a30b7SPrashant Malani    maxItems: 1
62431a30b7SPrashant Malani
63431a30b7SPrashant Malani  vbus-supply:
64431a30b7SPrashant Malani    description: A phandle to the regulator for USB VBUS if needed when host
65431a30b7SPrashant Malani      mode or dual role mode is supported.
66431a30b7SPrashant Malani      Particularly, if use an output GPIO to control a VBUS regulator, should
67431a30b7SPrashant Malani      model it as a regulator. See bindings/regulator/fixed-regulator.yaml
68431a30b7SPrashant Malani
69431a30b7SPrashant Malani  # The following are optional properties for "usb-c-connector".
70431a30b7SPrashant Malani  power-role:
71431a30b7SPrashant Malani    description: Determines the power role that the Type C connector will
72431a30b7SPrashant Malani      support. "dual" refers to Dual Role Port (DRP).
73d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/string
743d21a460SRob Herring
75431a30b7SPrashant Malani    enum:
76431a30b7SPrashant Malani      - source
77431a30b7SPrashant Malani      - sink
78431a30b7SPrashant Malani      - dual
79431a30b7SPrashant Malani
80431a30b7SPrashant Malani  try-power-role:
81431a30b7SPrashant Malani    description: Preferred power role.
82d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/string
833d21a460SRob Herring
84431a30b7SPrashant Malani    enum:
85431a30b7SPrashant Malani      - source
86431a30b7SPrashant Malani      - sink
87431a30b7SPrashant Malani      - dual
88431a30b7SPrashant Malani
89431a30b7SPrashant Malani  data-role:
90431a30b7SPrashant Malani    description: Data role if Type C connector supports USB data. "dual" refers
91431a30b7SPrashant Malani      Dual Role Device (DRD).
92d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/string
933d21a460SRob Herring
94431a30b7SPrashant Malani    enum:
95431a30b7SPrashant Malani      - host
96431a30b7SPrashant Malani      - device
97431a30b7SPrashant Malani      - dual
98431a30b7SPrashant Malani
998e568db6SAmelie Delaunay  typec-power-opmode:
1008e568db6SAmelie Delaunay    description: Determines the power operation mode that the Type C connector
1018e568db6SAmelie Delaunay      will support and will advertise through CC pins when it has no power
1028e568db6SAmelie Delaunay      delivery support.
1038e568db6SAmelie Delaunay      - "default" corresponds to default USB voltage and current defined by the
1048e568db6SAmelie Delaunay        USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and
1058e568db6SAmelie Delaunay        5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane
1068e568db6SAmelie Delaunay        operation respectively.
1078e568db6SAmelie Delaunay      - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB
1088e568db6SAmelie Delaunay        Type-C Cable and Connector specification, when Power Delivery is not
1098e568db6SAmelie Delaunay        supported.
110dca66935SRob Herring    $ref: /schemas/types.yaml#/definitions/string
1118e568db6SAmelie Delaunay    enum:
1128e568db6SAmelie Delaunay      - default
1138e568db6SAmelie Delaunay      - 1.5A
1148e568db6SAmelie Delaunay      - 3.0A
1158e568db6SAmelie Delaunay
1167a4440bcSKyle Tso  pd-disable:
1177a4440bcSKyle Tso    description: Set this property if the Type-C connector has no power delivery support.
1187a4440bcSKyle Tso    type: boolean
1197a4440bcSKyle Tso
120431a30b7SPrashant Malani  # The following are optional properties for "usb-c-connector" with power
121431a30b7SPrashant Malani  # delivery support.
122431a30b7SPrashant Malani  source-pdos:
123431a30b7SPrashant Malani    description: An array of u32 with each entry providing supported power
124431a30b7SPrashant Malani      source data object(PDO), the detailed bit definitions of PDO can be found
125431a30b7SPrashant Malani      in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.2
126431a30b7SPrashant Malani      Source_Capabilities Message, the order of each entry(PDO) should follow
127431a30b7SPrashant Malani      the PD spec chapter 6.4.1. Required for power source and power dual role.
128431a30b7SPrashant Malani      User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
129431a30b7SPrashant Malani      defined in dt-bindings/usb/pd.h.
130431a30b7SPrashant Malani    minItems: 1
131431a30b7SPrashant Malani    maxItems: 7
1323d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32-array
133431a30b7SPrashant Malani
134431a30b7SPrashant Malani  sink-pdos:
135431a30b7SPrashant Malani    description: An array of u32 with each entry providing supported power sink
136431a30b7SPrashant Malani      data object(PDO), the detailed bit definitions of PDO can be found in
137431a30b7SPrashant Malani      "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.3
138431a30b7SPrashant Malani      Sink Capabilities Message, the order of each entry(PDO) should follow the
139431a30b7SPrashant Malani      PD spec chapter 6.4.1. Required for power sink and power dual role. User
140431a30b7SPrashant Malani      can specify the sink PDO array via PDO_FIXED/BATT/VAR/PPS_APDO() defined
141431a30b7SPrashant Malani      in dt-bindings/usb/pd.h.
142431a30b7SPrashant Malani    minItems: 1
143431a30b7SPrashant Malani    maxItems: 7
1443d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32-array
145431a30b7SPrashant Malani
146630dce28SKyle Tso  sink-vdos:
1474b59b60dSKyle Tso    description: An array of u32 with each entry, a Vendor Defined Message Object (VDO),
1484b59b60dSKyle Tso      providing additional information corresponding to the product, the detailed bit
1494b59b60dSKyle Tso      definitions and the order of each VDO can be found in
1504b59b60dSKyle Tso      "USB Power Delivery Specification Revision 3.0, Version 2.0 + ECNs 2020-12-10"
151630dce28SKyle Tso      chapter 6.4.4.3.1 Discover Identity. User can specify the VDO array via
152630dce28SKyle Tso      VDO_IDH/_CERT/_PRODUCT/_UFP/_DFP/_PCABLE/_ACABLE(1/2)/_VPD() defined in
153630dce28SKyle Tso      dt-bindings/usb/pd.h.
154630dce28SKyle Tso    minItems: 3
155630dce28SKyle Tso    maxItems: 6
156630dce28SKyle Tso    $ref: /schemas/types.yaml#/definitions/uint32-array
157630dce28SKyle Tso
15855b54c26SKyle Tso  sink-vdos-v1:
15955b54c26SKyle Tso    description: An array of u32 with each entry, a Vendor Defined Message Object (VDO),
16055b54c26SKyle Tso      providing additional information corresponding to the product, the detailed bit
16155b54c26SKyle Tso      definitions and the order of each VDO can be found in
16255b54c26SKyle Tso      "USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
16355b54c26SKyle Tso      Identity. User can specify the VDO array via VDO_IDH/_CERT/_PRODUCT/_CABLE/_AMA defined in
16455b54c26SKyle Tso      dt-bindings/usb/pd.h.
16555b54c26SKyle Tso    minItems: 3
16655b54c26SKyle Tso    maxItems: 6
16755b54c26SKyle Tso    $ref: /schemas/types.yaml#/definitions/uint32-array
16855b54c26SKyle Tso
169431a30b7SPrashant Malani  op-sink-microwatt:
170431a30b7SPrashant Malani    description: Sink required operating power in microwatt, if source can't
171431a30b7SPrashant Malani      offer the power, Capability Mismatch is set. Required for power sink and
172431a30b7SPrashant Malani      power dual role.
173431a30b7SPrashant Malani
174876c38ebSFabrice Gasnier  port:
175876c38ebSFabrice Gasnier    $ref: /schemas/graph.yaml#/properties/port
176876c38ebSFabrice Gasnier    description: OF graph bindings modeling a data bus to the connector, e.g.
177876c38ebSFabrice Gasnier      there is a single High Speed (HS) port present in this connector. If there
178876c38ebSFabrice Gasnier      is more than one bus (several port, with 'reg' property), they can be grouped
179876c38ebSFabrice Gasnier      under 'ports'.
180876c38ebSFabrice Gasnier
181431a30b7SPrashant Malani  ports:
1829428d93eSRob Herring    $ref: /schemas/graph.yaml#/properties/ports
1839428d93eSRob Herring    description: OF graph bindings modeling any data bus to the connector
1849428d93eSRob Herring      unless the bus is between parent node and the connector. Since a single
1859428d93eSRob Herring      connector can have multiple data buses every bus has an assigned OF graph
1869428d93eSRob Herring      port number as described below.
1879428d93eSRob Herring
188431a30b7SPrashant Malani    properties:
189431a30b7SPrashant Malani      port@0:
1909428d93eSRob Herring        $ref: /schemas/graph.yaml#/properties/port
191431a30b7SPrashant Malani        description: High Speed (HS), present in all connectors.
192431a30b7SPrashant Malani
193431a30b7SPrashant Malani      port@1:
1949428d93eSRob Herring        $ref: /schemas/graph.yaml#/properties/port
195431a30b7SPrashant Malani        description: Super Speed (SS), present in SS capable connectors.
196431a30b7SPrashant Malani
197431a30b7SPrashant Malani      port@2:
1989428d93eSRob Herring        $ref: /schemas/graph.yaml#/properties/port
199431a30b7SPrashant Malani        description: Sideband Use (SBU), present in USB-C. This describes the
200431a30b7SPrashant Malani          alternate mode connection of which SBU is a part.
201431a30b7SPrashant Malani
202431a30b7SPrashant Malani    required:
203431a30b7SPrashant Malani      - port@0
204431a30b7SPrashant Malani
2055ed132dbSBadhri Jagan Sridharan  new-source-frs-typec-current:
2065ed132dbSBadhri Jagan Sridharan    description: Initial current capability of the new source when vSafe5V
2075ed132dbSBadhri Jagan Sridharan      is applied during PD3.0 Fast Role Swap. "Table 6-14 Fixed Supply PDO - Sink"
2085ed132dbSBadhri Jagan Sridharan      of "USB Power Delivery Specification Revision 3.0, Version 1.2" provides the
2095ed132dbSBadhri Jagan Sridharan      different power levels and "6.4.1.3.1.6 Fast Role Swap USB Type-C Current"
2105ed132dbSBadhri Jagan Sridharan      provides a detailed description of the field. The sink PDO from current source
2115ed132dbSBadhri Jagan Sridharan      reflects the current source's(i.e. transmitter of the FRS signal) power
2125ed132dbSBadhri Jagan Sridharan      requirement during fr swap. The current sink (i.e. receiver of the FRS signal),
2135ed132dbSBadhri Jagan Sridharan      a.k.a new source, should check if it will be able to satisfy the current source's,
2145ed132dbSBadhri Jagan Sridharan      new sink's, requirement during frswap before enabling the frs signal reception.
2155ed132dbSBadhri Jagan Sridharan      This property refers to maximum current capability that the current sink can
2165ed132dbSBadhri Jagan Sridharan      satisfy. During FRS, VBUS voltage is at 5V, as the partners are in implicit
2175ed132dbSBadhri Jagan Sridharan      contract, hence, the power level is only a function of the current capability.
2185ed132dbSBadhri Jagan Sridharan      "1" refers to default USB power level as described by "Table 6-14 Fixed Supply PDO - Sink".
2195ed132dbSBadhri Jagan Sridharan      "2" refers to 1.5A@5V.
2205ed132dbSBadhri Jagan Sridharan      "3" refers to 3.0A@5V.
2215ed132dbSBadhri Jagan Sridharan    $ref: /schemas/types.yaml#/definitions/uint32
2225ed132dbSBadhri Jagan Sridharan    enum: [1, 2, 3]
2235ed132dbSBadhri Jagan Sridharan
224ca0584c4SBadhri Jagan Sridharan  slow-charger-loop:
225ca0584c4SBadhri Jagan Sridharan    description: Allows PMIC charger loops which are slow(i.e. cannot meet the 15ms deadline) to
226ca0584c4SBadhri Jagan Sridharan      still comply to pSnkStby i.e Maximum power that can be consumed by sink while in Sink Standby
227ca0584c4SBadhri Jagan Sridharan      state as defined in 7.4.2 Sink Electrical Parameters of USB Power Delivery Specification
228ca0584c4SBadhri Jagan Sridharan      Revision 3.0, Version 1.2. When the property is set, the port requests pSnkStby(2.5W -
229ca0584c4SBadhri Jagan Sridharan      5V@500mA) upon entering SNK_DISCOVERY(instead of 3A or the 1.5A, Rp current advertised, during
23047aab533SBjorn Helgaas      SNK_DISCOVERY) and the actual current limit after reception of PS_Ready for PD link or during
231ca0584c4SBadhri Jagan Sridharan      SNK_READY for non-pd link.
232ca0584c4SBadhri Jagan Sridharan    type: boolean
233ca0584c4SBadhri Jagan Sridharan
23455b54c26SKyle Tsodependencies:
235*45698208SRob Herring  sink-vdos-v1: [ sink-vdos ]
236*45698208SRob Herring  sink-vdos: [ sink-vdos-v1 ]
23755b54c26SKyle Tso
238431a30b7SPrashant Malanirequired:
239431a30b7SPrashant Malani  - compatible
240431a30b7SPrashant Malani
2418f8986e9SThierry RedingallOf:
2428f8986e9SThierry Reding  - if:
2438f8986e9SThierry Reding      properties:
2448f8986e9SThierry Reding        compatible:
2458f8986e9SThierry Reding          contains:
2468f8986e9SThierry Reding            const: gpio-usb-b-connector
2478f8986e9SThierry Reding    then:
2488f8986e9SThierry Reding      anyOf:
2498f8986e9SThierry Reding        - required:
2508f8986e9SThierry Reding            - vbus-gpios
2518f8986e9SThierry Reding        - required:
2528f8986e9SThierry Reding            - id-gpios
2538f8986e9SThierry Reding
2547c5798abSKrzysztof Kozlowski  - if:
2557c5798abSKrzysztof Kozlowski      properties:
2567c5798abSKrzysztof Kozlowski        compatible:
2577c5798abSKrzysztof Kozlowski          contains:
2587c5798abSKrzysztof Kozlowski            const: samsung,usb-connector-11pin
2597c5798abSKrzysztof Kozlowski    then:
2607c5798abSKrzysztof Kozlowski      properties:
2617c5798abSKrzysztof Kozlowski        type:
2627c5798abSKrzysztof Kozlowski          const: micro
2637c5798abSKrzysztof Kozlowski
2648e568db6SAmelie DelaunayanyOf:
2658e568db6SAmelie Delaunay  - not:
2668e568db6SAmelie Delaunay      required:
2678e568db6SAmelie Delaunay        - typec-power-opmode
2688e568db6SAmelie Delaunay        - new-source-frs-typec-current
2698e568db6SAmelie Delaunay
270e251a4e2SKrzysztof KozlowskiadditionalProperties: false
2716a0e321eSRob Herring
272431a30b7SPrashant Malaniexamples:
273431a30b7SPrashant Malani  # Micro-USB connector with HS lines routed via controller (MUIC).
2749f60a65bSRob Herring  - |
275431a30b7SPrashant Malani    muic-max77843 {
276431a30b7SPrashant Malani        usb_con1: connector {
277431a30b7SPrashant Malani            compatible = "usb-b-connector";
278431a30b7SPrashant Malani            label = "micro-USB";
279431a30b7SPrashant Malani            type = "micro";
280431a30b7SPrashant Malani        };
281431a30b7SPrashant Malani    };
282431a30b7SPrashant Malani
283431a30b7SPrashant Malani  # USB-C connector attached to CC controller (s2mm005), HS lines routed
284431a30b7SPrashant Malani  # to companion PMIC (max77865), SS lines to USB3 PHY and SBU to DisplayPort.
285431a30b7SPrashant Malani  # DisplayPort video lines are routed to the connector via SS mux in USB3 PHY.
2869f60a65bSRob Herring  - |
287431a30b7SPrashant Malani    ccic: s2mm005 {
288431a30b7SPrashant Malani        usb_con2: connector {
289431a30b7SPrashant Malani            compatible = "usb-c-connector";
290431a30b7SPrashant Malani            label = "USB-C";
291431a30b7SPrashant Malani
292431a30b7SPrashant Malani            ports {
293431a30b7SPrashant Malani                #address-cells = <1>;
294431a30b7SPrashant Malani                #size-cells = <0>;
295431a30b7SPrashant Malani
296431a30b7SPrashant Malani                port@0 {
297431a30b7SPrashant Malani                    reg = <0>;
298431a30b7SPrashant Malani                    usb_con_hs: endpoint {
299431a30b7SPrashant Malani                        remote-endpoint = <&max77865_usbc_hs>;
300431a30b7SPrashant Malani                    };
301431a30b7SPrashant Malani                };
302431a30b7SPrashant Malani                port@1 {
303431a30b7SPrashant Malani                    reg = <1>;
304431a30b7SPrashant Malani                    usb_con_ss: endpoint {
305431a30b7SPrashant Malani                        remote-endpoint = <&usbdrd_phy_ss>;
306431a30b7SPrashant Malani                    };
307431a30b7SPrashant Malani                };
308431a30b7SPrashant Malani                port@2 {
309431a30b7SPrashant Malani                    reg = <2>;
310431a30b7SPrashant Malani                    usb_con_sbu: endpoint {
311431a30b7SPrashant Malani                        remote-endpoint = <&dp_aux>;
312431a30b7SPrashant Malani                    };
313431a30b7SPrashant Malani                };
314431a30b7SPrashant Malani            };
315431a30b7SPrashant Malani        };
316431a30b7SPrashant Malani    };
317431a30b7SPrashant Malani
318431a30b7SPrashant Malani  # USB-C connector attached to a typec port controller(ptn5110), which has
319431a30b7SPrashant Malani  # power delivery support and enables drp.
3209f60a65bSRob Herring  - |
321431a30b7SPrashant Malani    #include <dt-bindings/usb/pd.h>
322431a30b7SPrashant Malani    typec: ptn5110 {
323431a30b7SPrashant Malani        usb_con3: connector {
324431a30b7SPrashant Malani            compatible = "usb-c-connector";
325431a30b7SPrashant Malani            label = "USB-C";
326431a30b7SPrashant Malani            power-role = "dual";
327431a30b7SPrashant Malani            try-power-role = "sink";
328431a30b7SPrashant Malani            source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
329431a30b7SPrashant Malani            sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
330431a30b7SPrashant Malani                         PDO_VAR(5000, 12000, 2000)>;
331431a30b7SPrashant Malani            op-sink-microwatt = <10000000>;
332431a30b7SPrashant Malani        };
333431a30b7SPrashant Malani    };
3348f8986e9SThierry Reding
335876c38ebSFabrice Gasnier  # USB-C connector attached to SoC with a single High-Speed controller
336876c38ebSFabrice Gasnier  - |
337876c38ebSFabrice Gasnier    connector {
338876c38ebSFabrice Gasnier        compatible = "usb-c-connector";
339876c38ebSFabrice Gasnier        label = "USB-C";
340876c38ebSFabrice Gasnier
341876c38ebSFabrice Gasnier        port {
342876c38ebSFabrice Gasnier            high_speed_ep: endpoint {
343876c38ebSFabrice Gasnier                remote-endpoint = <&usb_hs_ep>;
344876c38ebSFabrice Gasnier            };
345876c38ebSFabrice Gasnier        };
346876c38ebSFabrice Gasnier    };
347876c38ebSFabrice Gasnier
348588614beSBiju Das  # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
349588614beSBiju Das  # with SS 2:1 MUX. HS lines routed to SoC, SS lines routed to the MUX and
350588614beSBiju Das  # the output of MUX is connected to the SoC.
351588614beSBiju Das  - |
352588614beSBiju Das    connector {
353588614beSBiju Das        compatible = "usb-c-connector";
354588614beSBiju Das        label = "USB-C";
355588614beSBiju Das        data-role = "dual";
356588614beSBiju Das
357588614beSBiju Das        ports {
358588614beSBiju Das            #address-cells = <1>;
359588614beSBiju Das            #size-cells = <0>;
360588614beSBiju Das            port@0 {
361588614beSBiju Das                reg = <0>;
362588614beSBiju Das                hs_ep: endpoint {
363588614beSBiju Das                    remote-endpoint = <&usb3_hs_ep>;
364588614beSBiju Das                };
365588614beSBiju Das            };
366588614beSBiju Das            port@1 {
367588614beSBiju Das                reg = <1>;
368588614beSBiju Das                ss_ep: endpoint {
369588614beSBiju Das                    remote-endpoint = <&hd3ss3220_in_ep>;
370588614beSBiju Das                };
371588614beSBiju Das            };
372588614beSBiju Das        };
373588614beSBiju Das    };
374588614beSBiju Das
3758f8986e9SThierry Reding  # USB connector with GPIO control lines
3768f8986e9SThierry Reding  - |
3778f8986e9SThierry Reding    #include <dt-bindings/gpio/gpio.h>
3788f8986e9SThierry Reding
3798f8986e9SThierry Reding    usb {
3808f8986e9SThierry Reding        connector {
3818f8986e9SThierry Reding            compatible = "gpio-usb-b-connector", "usb-b-connector";
3828f8986e9SThierry Reding            type = "micro";
3838f8986e9SThierry Reding            id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>;
3848f8986e9SThierry Reding            vbus-supply = <&usb_p0_vbus>;
3858f8986e9SThierry Reding        };
3868f8986e9SThierry Reding    };
3877c5798abSKrzysztof Kozlowski
3887c5798abSKrzysztof Kozlowski  # Micro-USB connector with HS lines routed via controller (MUIC) and MHL
3897c5798abSKrzysztof Kozlowski  # lines connected to HDMI-MHL bridge (sii8620) on Samsung Exynos5433-based
3907c5798abSKrzysztof Kozlowski  # mobile phone
3917c5798abSKrzysztof Kozlowski  - |
3927c5798abSKrzysztof Kozlowski    muic-max77843 {
3937c5798abSKrzysztof Kozlowski        usb_con4: connector {
3947c5798abSKrzysztof Kozlowski            compatible = "samsung,usb-connector-11pin", "usb-b-connector";
3957c5798abSKrzysztof Kozlowski            label = "micro-USB";
3967c5798abSKrzysztof Kozlowski            type = "micro";
3977c5798abSKrzysztof Kozlowski
3987c5798abSKrzysztof Kozlowski            ports {
3997c5798abSKrzysztof Kozlowski                #address-cells = <1>;
4007c5798abSKrzysztof Kozlowski                #size-cells = <0>;
4017c5798abSKrzysztof Kozlowski
4027c5798abSKrzysztof Kozlowski                port@0 {
4037c5798abSKrzysztof Kozlowski                    reg = <0>;
4047c5798abSKrzysztof Kozlowski                    muic_to_usb: endpoint {
4057c5798abSKrzysztof Kozlowski                        remote-endpoint = <&usb_to_muic>;
4067c5798abSKrzysztof Kozlowski                    };
4077c5798abSKrzysztof Kozlowski                };
4087c5798abSKrzysztof Kozlowski                port@3 {
4097c5798abSKrzysztof Kozlowski                    reg = <3>;
4107c5798abSKrzysztof Kozlowski                    usb_con_mhl: endpoint {
4117c5798abSKrzysztof Kozlowski                        remote-endpoint = <&sii8620_mhl>;
4127c5798abSKrzysztof Kozlowski                    };
4137c5798abSKrzysztof Kozlowski                };
4147c5798abSKrzysztof Kozlowski            };
4157c5798abSKrzysztof Kozlowski        };
4167c5798abSKrzysztof Kozlowski    };
417