summaryrefslogtreecommitdiff
path: root/zephyr/program/skyrim/usbc.dtsi
blob: a5fb5a88afa396fa559cc8b433ab58fdbf118f94 (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 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>;
			bc12 = <&bc12_port0>;
			tcpc = <&tcpc_port0>;
			chg = <&charger>;
			chg_alt = <&alt_charger>;
			ppc = <&ppc_port0>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&amd_fp6_port0 &anx7483_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 &anx7483_port1>;
			};
			usb_mux_chain_ps8818_port1: usb-mux-chain-1-ps {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&amd_fp6_port1 &ps8818_port1>;
				alternative-chain;
			};
		};
	};
};