summaryrefslogtreecommitdiff
path: root/zephyr/program/corsola/npcx_i2c.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/corsola/npcx_i2c.dtsi')
-rw-r--r--zephyr/program/corsola/npcx_i2c.dtsi12
1 files changed, 10 insertions, 2 deletions
diff --git a/zephyr/program/corsola/npcx_i2c.dtsi b/zephyr/program/corsola/npcx_i2c.dtsi
index ce41937ed2..2fd56fab53 100644
--- a/zephyr/program/corsola/npcx_i2c.dtsi
+++ b/zephyr/program/corsola/npcx_i2c.dtsi
@@ -77,7 +77,11 @@
TCPC_FLAGS_ALERT_OD |
TCPC_FLAGS_CONTROL_VCONN |
TCPC_FLAGS_CONTROL_FRS)>;
- 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 = <&gpio7 3 GPIO_ACTIVE_LOW>;
};
ppc_port0: nx20p348x@72 {
@@ -111,7 +115,11 @@
TCPC_FLAGS_ALERT_OD |
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 = <&gpioe 1 GPIO_ACTIVE_LOW>;
};
ppc_port1: nx20p348x@72 {