summaryrefslogtreecommitdiff
path: root/zephyr/program/myst/usbc.dtsi
blob: 8e8579d328e188c47b060e5031b6d30a6d34023c (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
/* 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>;
			ppc = <&ppc_port0>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&amd_fp6_port0>;
			};
		};

		usbc_port1: port1@1 {
			compatible = "named-usbc-port";
			reg = <1>;
			bc12 = <&bc12_port1>;
			tcpc = <&tcpc_port1>;
			ppc = <&ppc_port1>;
			usb-mux-chain-1-anx {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&amd_fp6_port1>;
			};
		};
	};
};