diff options
Diffstat (limited to 'zephyr/test/drivers/anx7452/usbc.dts')
-rw-r--r-- | zephyr/test/drivers/anx7452/usbc.dts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/zephyr/test/drivers/anx7452/usbc.dts b/zephyr/test/drivers/anx7452/usbc.dts new file mode 100644 index 0000000000..3441cf842f --- /dev/null +++ b/zephyr/test/drivers/anx7452/usbc.dts @@ -0,0 +1,32 @@ +/* Copyright 2023 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 { + port1@1 { + compatible = "named-usbc-port"; + reg = <1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&usb_c1_anx7452_emul>; + }; + }; + }; + +}; +&i2c3 { + status = "okay"; + + /delete-node/ bbretimer@42; + + usb_c1_anx7452_emul: anx7452@10 { + compatible = "analogix,anx7452"; + reg = <0x10>; + usb-en-pin = <&usb_c1_ls_en>; + dp-en-pin = <&usb_c1_rt_rst_odl>; + }; +}; |