summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/anx7452/usbc.dts
blob: 3441cf842fbdfd0eb562af8b475ebd08c05b4460 (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
/* 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>;
	};
};