summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/i2c_kingler.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/corsola/i2c_kingler.dts')
-rw-r--r--zephyr/projects/corsola/i2c_kingler.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/zephyr/projects/corsola/i2c_kingler.dts b/zephyr/projects/corsola/i2c_kingler.dts
index 2f98d3a99b..a8fc6e592b 100644
--- a/zephyr/projects/corsola/i2c_kingler.dts
+++ b/zephyr/projects/corsola/i2c_kingler.dts
@@ -3,6 +3,8 @@
* found in the LICENSE file.
*/
+#include <dt-bindings/usb_pd_tcpm.h>
+
/*
* Kingler and Steelix use the same dts, take care of this when modify it.
*/
@@ -65,6 +67,17 @@
reg = <0x5f>;
irq = <&int_usb_c0_bc12>;
};
+
+ tcpc_port0: anx7447-tcpc@2c {
+ compatible = "anologix,anx7447-tcpc";
+ status = "okay";
+ reg = <0x2c>;
+ tcpc-flags = <(
+ TCPC_FLAGS_VBUS_MONITOR |
+ TCPC_FLAGS_ALERT_OD |
+ TCPC_FLAGS_CONTROL_VCONN |
+ TCPC_FLAGS_CONTROL_FRS)>;
+ };
};
&i2c_ctrl1 {
@@ -83,6 +96,15 @@
status = "okay";
reg = <0x40>;
};
+
+ tcpc_port1: rt1718s-tcpc@40 {
+ compatible = "richtek,rt1718s-tcpc";
+ reg = <0x40>;
+ tcpc-flags = <(
+ TCPC_FLAGS_ALERT_OD |
+ TCPC_FLAGS_CONTROL_VCONN |
+ TCPC_FLAGS_CONTROL_FRS)>;
+ };
};
&i2c_ctrl2 {