summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/usbc/named-usbc-port.yaml
blob: 1cdcb878b28267b5dec0e3e34318d34425c07cfd (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright 2022 The ChromiumOS Authors
# 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.
  tcpc:
    type: phandle
    required: false
    description: |
      TCPC chip for the USB-C port.
  chg:
    type: phandle
    required: false
    description: |
      Charger chip for the USB-C port.
  chg_alt:
    type: phandle
    required: false
    description: |
      Alternative charger for the USB-C port.
  ppc:
    type: phandle
    required: false
    description: |
      PPC for the USB-C port.
  ppc_alt:
    type: phandle
    required: false
    description: |
      Alternate PPC for the USB-C port.


# 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>;
#		};
#	};