summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/usbc_krabby.dts
blob: 8970ebc84506e2d8f7b90cc5b92fee4648f0559f (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
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * 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 {
				compatible = "richtek,rt1739-bc12";
				status = "okay";
			};
			ppc {
				compatible = "richtek,rt1739-ppc";
				status = "okay";
				port = <&i2c_usb_c0>;
				i2c-addr-flags = "RT1739_ADDR1_FLAGS";
			};
			tcpc {
				compatible = "ite,it8xxx2-tcpc";
			};
		};

		port1@1 {
			compatible = "named-usbc-port";
			reg = <1>;
			bc12 {
				compatible = "richtek,rt9490-bc12";
				status = "okay";
				irq = <&int_usb_c1_bc12_charger>;
			};
			ppc {
				compatible = "silergy,syv682x";
				status = "okay";
				port = <&i2c_usb_c1>;
				i2c-addr-flags = "SYV682X_ADDR0_FLAGS";
				frs_en_gpio = <&gpio_ec_x_gpio1>;
			};
			tcpc {
				compatible = "ite,it8xxx2-tcpc";
			};
		};
	};
};