summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/usbc/named-usbc-port.yaml
blob: bcd9c7a2b4a305185251417d13dbf80e4dac1411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 2022 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

description: Named USB-C port node

compatible: "named-usbc-port"

include: base.yaml

properties:
  usb-muxes:
    type: phandles
    required: false
    description: |
      List of USB-C muxes and retimers for the USB-C port. The USB-C subsystem
      traverses this list in the order specified. The phandles are references to
      cros-ec,usbc-mux nodes.


# Example:
#	usbc {
#		#address-cells = <1>;
#		#size-cells = <0>;
#
#		/* Reg property is used to assign a port number */
#		port0@0 {
#			compatible = "named-usbc-port";
#			reg = <0>;
#			bc12 {
#				compatible = "pericom,pi3usb9201";
#				port = <&i2c_ec_i2c_usb_c0>;
#			};
#		};
#		port1@1 {
#			compatible = "named-usbc-port";
#			reg = <1>;
#			bc12 {
#				compatible = "pericom,pi3usb9201";
#				port = <&i2c_ec_i2c_sub_usb_c1>;
#			};
#		};
#	};