summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/usbc_zombie.dts
blob: 20bd48382f42ed540cd426a5e7f6046954284c45 (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>;

		port0@0 {
			compatible = "named-usbc-port";
			reg = <0>;
			bc12 = <&bc12_port0>;
			ppc = <&ppc_port0>;
			tcpc = <&tcpc_port0>;
			chg = <&charger>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&usb_mux_0>;
			};
		};
		usb_mux_0: usb-mux-0 {
			compatible = "parade,usbc-mux-ps8xxx";
		};

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