summaryrefslogtreecommitdiff
path: root/zephyr/projects/brya/brya/usbc.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/brya/brya/usbc.dts')
-rw-r--r--zephyr/projects/brya/brya/usbc.dts52
1 files changed, 52 insertions, 0 deletions
diff --git a/zephyr/projects/brya/brya/usbc.dts b/zephyr/projects/brya/brya/usbc.dts
new file mode 100644
index 0000000000..a8ea2edbc3
--- /dev/null
+++ b/zephyr/projects/brya/brya/usbc.dts
@@ -0,0 +1,52 @@
+/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/ {
+ usbc {
+ compatible = "named-usbc-ports";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port0: usbc-port0@0 {
+ reg = <0>;
+ bc12 {
+ compatible = "pericom,pi3usb9201";
+ status = "okay";
+ irq = <&gpio_usb_c0_bc12_int_odl>;
+ port = <&c0_c2_bc12>;
+ i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
+ };
+ tcpc {
+ compatible = "nuvoton,nct38xx";
+ gpio-dev = <&nct3808_0_P1>;
+ };
+ };
+
+ port1: usbc-port1@1 {
+ reg = <1>;
+ bc12 {
+ compatible = "pericom,pi3usb9201";
+ status = "okay";
+ irq = <&gpio_usb_c1_bc12_int_odl>;
+ port = <&c1_bc12>;
+ i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
+ };
+ };
+
+ port2: usbc-port2@2 {
+ reg = <2>;
+ bc12 {
+ compatible = "pericom,pi3usb9201";
+ status = "okay";
+ irq = <&gpio_usb_c2_bc12_int_odl>;
+ port = <&c0_c2_bc12>;
+ i2c-addr-flags = "PI3USB9201_I2C_ADDR_1_FLAGS";
+ };
+ tcpc {
+ compatible = "nuvoton,nct38xx";
+ gpio-dev = <&nct3808_0_P2>;
+ };
+ };
+ };
+};