summaryrefslogtreecommitdiff
path: root/zephyr/program/rex/rex.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/rex/rex.dtsi')
-rw-r--r--zephyr/program/rex/rex.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/zephyr/program/rex/rex.dtsi b/zephyr/program/rex/rex.dtsi
index 3c3df257ea..0bb7bebced 100644
--- a/zephyr/program/rex/rex.dtsi
+++ b/zephyr/program/rex/rex.dtsi
@@ -115,7 +115,11 @@
gpio-dev = <&nct3807_C0>;
reg = <0x70>;
tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
- int-pin = <&gpio_usb_c0_tcpc_int_odl>;
+ /* a duplicate of the <&gpio_usb_c0_tcpc_int_odl> node in
+ * "named-gpios". This is the Zephyr preferred style,
+ * the "named-gpios" node will be dealt with at a later date.
+ */
+ irq-gpios = <&gpioe 0 GPIO_ACTIVE_LOW>;
};
nct3807_C0: nct3807_C0@70 {
@@ -207,7 +211,11 @@
TCPC_FLAGS_TCPCI_REV2_0_NO_VSAFE0V |
TCPC_FLAGS_CONTROL_VCONN |
TCPC_FLAGS_CONTROL_FRS)>;
- int-pin = <&gpio_usb_c1_tcpc_int_odl>;
+ /* a duplicate of the <&gpio_usb_c1_tcpc_int_odl> node in
+ * "named-gpios". This is the Zephyr preferred style,
+ * the "named-gpios" node will be dealt with at a later date.
+ */
+ irq-gpios = <&gpio3 4 GPIO_ACTIVE_LOW>;
};
};