boards: nxp: imx95_evk: flexcan2: add pinctrl node
Add pinmux configuration to enable the can in zephyr.
Using the following pins:
- CAN2_TX, GPIO_IO25
- CAN2_RX, GPIO_IO27
Signed-off-by: Aziz Sellami <aziz.sellami@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
diff --git a/boards/nxp/imx95_evk/imx95_evk-pinctrl.dtsi b/boards/nxp/imx95_evk/imx95_evk-pinctrl.dtsi
index ef07a9d..a087f04 100644
--- a/boards/nxp/imx95_evk/imx95_evk-pinctrl.dtsi
+++ b/boards/nxp/imx95_evk/imx95_evk-pinctrl.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright 2024 NXP
+ * Copyright 2024-2025 NXP
* SPDX-License-Identifier: Apache-2.0
*/
@@ -139,6 +139,16 @@
};
};
+ flexcan2_default: flexcan2_default {
+ group0 {
+ pinmux = <&iomuxc_gpio_io27_can_rx_can2_rx>,
+ <&iomuxc_gpio_io25_can_tx_can2_tx>;
+ bias-pull-down;
+ slew-rate = "slightly_fast";
+ drive-strength = "x4";
+ };
+ };
+
tpm2_default: tpm2_default {
group0 {
pinmux = <&iomuxc_i2c2_scl_tpm_ch_tpm2_ch2>,