summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/nx20p348x/usbc.dts
blob: 86fb5781d6b74c5cde332e3c43dda8f99a0b4137 (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
/* 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 {
		port0@0 {
			compatible = "named-usbc-port";
			ppc = <&nx20p348x_emul>;
		};
	};
};

&i2c2 {
	status="okay";

	nx20p348x_emul: nx20p348x_emul@9 {
		compatible = "nxp,nx20p348x";
		status = "okay";
		reg = <0x71>;
		irq-gpios = < &gpio0 14 GPIO_ACTIVE_LOW >;
	};
};