blob: 966ef1296c2ea7d32cdd1b8df68f956c58e8d095 (
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
|
/* Copyright 2022 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.
*/
#include <dt-bindings/usb_pd_tcpm.h>
/ {
usbc {
#address-cells = <1>;
#size-cells = <0>;
port0@0 {
compatible = "named-usbc-port";
reg = <0>;
bc12 = <&bc12_port0>;
tcpc {
compatible = "nuvoton,nct38xx";
gpio-dev = <&nct3807_C0>;
port = <&i2c_tcpc0>;
i2c-addr-flags = "NCT38XX_I2C_ADDR1_1_FLAGS";
tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
};
chg {
compatible = "intersil,isl9241";
status = "okay";
port = <&i2c_charger>;
};
};
port1@1 {
compatible = "named-usbc-port";
reg = <1>;
bc12 = <&bc12_port1>;
tcpc {
compatible = "nuvoton,nct38xx";
gpio-dev = <&nct3807_C1>;
port = <&i2c_tcpc1>;
i2c-addr-flags = "NCT38XX_I2C_ADDR1_1_FLAGS";
tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
};
};
};
};
|