summaryrefslogtreecommitdiff
path: root/zephyr/program/skyrim/i2c.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/skyrim/i2c.dtsi')
-rw-r--r--zephyr/program/skyrim/i2c.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/zephyr/program/skyrim/i2c.dtsi b/zephyr/program/skyrim/i2c.dtsi
index 8568ff5f49..c1f3d2d0f6 100644
--- a/zephyr/program/skyrim/i2c.dtsi
+++ b/zephyr/program/skyrim/i2c.dtsi
@@ -84,7 +84,11 @@
reg = <0x70>;
gpio-dev = <&nct3807_C0>;
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 {
@@ -159,7 +163,11 @@
reg = <0x70>;
gpio-dev = <&nct3807_C1>;
tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
- 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 = <&gpioc 7 GPIO_ACTIVE_LOW>;
};
nct3807_C1: nct3807_C1@70 {