diff options
Diffstat (limited to 'zephyr/projects/rex/usbc.dts')
-rw-r--r-- | zephyr/projects/rex/usbc.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/zephyr/projects/rex/usbc.dts b/zephyr/projects/rex/usbc.dts new file mode 100644 index 0000000000..8b3d0aa316 --- /dev/null +++ b/zephyr/projects/rex/usbc.dts @@ -0,0 +1,30 @@ +/* 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>; + + usbc_port0: port0@0 { + compatible = "named-usbc-port"; + reg = <0>; + bc12 = <&i2c_ec_i2c_usb_c0_ppc_b>; + ppc = <&ppc_port0_syv>; + tcpc = <&tcpc_port0>; + chg = <&charger>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_c0_hb_retimer + &virtual_mux_c0>; + }; + }; + port0-muxes { + virtual_mux_c0: virtual-mux-c0 { + compatible = "cros-ec,usbc-mux-virtual"; + }; + }; + }; +}; |