summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/usbc_kingler.dts
blob: 18bc6ce30319c309492bb53190435e8d152d7d61 (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
/* Copyright 2021 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>;
			tcpc = <&tcpc_port0>;
			ppc = <&ppc_port0>;
			chg = <&charger>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&anx7447_mux_0 &virtual_mux_0>;
			};
		};

		port0-muxes {
			anx7447_mux_0: anx7447-mux-0 {
				compatible = "analogix,usbc-mux-anx7447";
			};
			virtual_mux_0: virtual-mux-0 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};

		port1@1 {
			compatible = "named-usbc-port";
			reg = <1>;
			bc12 = <&bc12_port1>;
			tcpc = <&tcpc_port1>;
			ppc = <&ppc_port1>;
			usb-mux-chain-0 {
				compatible = "cros-ec,usb-mux-chain";
				usb-muxes = <&ps8743_mux_1 &virtual_mux_1>;
			};
			usb_mux_chain_1_hdmi_db: usb-mux-chain-1-hdmi-db {
				compatible = "cros-ec,usb-mux-chain";
				alternative-chain;
				usb-muxes = <&virtual_mux_1>;
			};
		};

		port1-muxes {
			virtual_mux_1: virtual-mux-1 {
				compatible = "cros-ec,usbc-mux-virtual";
			};
		};
	};
};