summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/usbc/named-usbc-port.yaml
blob: 13c93864731a46950f9d820b72b1534dbd0caafe (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
# 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:
  bc12:
    type: phandle
    required: false
    description: |
      BC1.2 chip for the USB-C port.
  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 = <&bc12_port0>;
#		};
#		port1@1 {
#			compatible = "named-usbc-port";
#			reg = <1>;
#			bc12 = <&bc12_port1>;
#		};
#	};