blob: c32dea601939da53e4e9e827901a70987671eeb1 (
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
|
/* 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.
*/
#include <dt-bindings/usb_pd_tcpm.h>
/ {
usbc {
port0@0 {
compatible = "named-usbc-port";
tcpc = <&rt1718s_emul>;
};
};
};
&i2c0 {
status="okay";
rt1718s_emul: rt1718s_emul@2c {
compatible = "cros,rt1718s-tcpc-emul", "richtek,rt1718s-tcpc";
status = "okay";
reg = <0x2c>;
tcpc-flags = <(
TCPC_FLAGS_ALERT_OD |
TCPC_FLAGS_CONTROL_VCONN |
TCPC_FLAGS_CONTROL_FRS)>;
};
};
|