summaryrefslogtreecommitdiff
path: root/zephyr/projects/intelrvp/mtlrvp/usbc.dts
blob: e4f3bdc46579a15befa49c9222a5a72cc2aeebca (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* 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.
 */

/ {
	usbc {
		#address-cells = <1>;
		#size-cells = <0>;

		usbc_port0: port0@0 {
			compatible = "named-usbc-port";
			reg = <0>;
			tcpc = <&tcpc_port0>;
			chg = <&charger>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&usb_c0_hb_retimer
					     &virtual_mux_c0>;
			};
		};
		port0-muxes {
			virtual_mux_c0: virtual-mux-c0 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};

		usbc_port1: port1@1 {
			compatible = "named-usbc-port";
			reg = <1>;
			tcpc = <&tcpc_port1>;
			usb-mux-chain-1 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&usb_c1_hb_retimer
					     &virtual_mux_c1>;
			};
		};
		port1-muxes {
			virtual_mux_c1: virtual-mux-c1 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};

		usbc_port2: port2@2 {
			compatible = "named-usbc-port";
			reg = <2>;
			tcpc = <&tcpc_port2>;
			usb-mux-chain-2 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&usb_c2_hb_retimer
					     &virtual_mux_c2>;
			};
		};
		port2-muxes {
			virtual_mux_c2: virtual-mux-c2 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};

		usbc_port3: port3@3 {
			compatible = "named-usbc-port";
			reg = <3>;
			tcpc = <&tcpc_port3>;
			usb-mux-chain-3 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&usb_c3_hb_retimer
					     &virtual_mux_c3>;
			};
		};
		port3-muxes {
			virtual_mux_c3: virtual-mux-c3 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};
	};
};