summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts')
-rw-r--r--zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts b/zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts
new file mode 100644
index 0000000000..c07f379f77
--- /dev/null
+++ b/zephyr/test/drivers/usbc_console_pd/usbc_legacy.dts
@@ -0,0 +1,25 @@
+/* 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.
+ */
+
+&{/gpio-interrupts} {
+ int_usb_c0: usb_c0 {
+ irq-pin = <&usb_c0_tcpc_int_odl>;
+ flags = <GPIO_INT_EDGE_FALLING>;
+ handler = "tcpc_alert_event";
+ };
+ int_usb_c1: usb_c1 {
+ irq-pin = <&usb_c1_tcpc_int_odl>;
+ flags = <GPIO_INT_EDGE_FALLING>;
+ handler = "tcpc_alert_event";
+ };
+};
+
+&tcpci_emul {
+ int-pin = <&usb_c0_tcpc_int_odl>;
+};
+
+&ps8xxx_emul {
+ int-pin = <&usb_c1_tcpc_int_odl>;
+};