[PATCH v3 2/3] arm64: dts: imx93-11x11-evk: add flexcan support
Frank Li
Frank.Li at nxp.com
Tue Sep 3 11:54:48 PDT 2024
From: Haibo Chen <haibo.chen at nxp.com>
Add flexcan support.
Signed-off-by: Joakim Zhang <qiangqing.zhang at nxp.com>
Signed-off-by: Haibo Chen <haibo.chen at nxp.com>
Reviewed-by: Jun Li <jun.li at nxp.com>
Signed-off-by: Frank Li <Frank.Li at nxp.com>
---
Change from v2 to v3
- update label to adp5585
change from v1 to v2
- none
---
.../boot/dts/freescale/imx93-11x11-evk.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index 94a400ccd1a2c..76177b723ef3c 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -78,6 +78,14 @@ reg_vref_1v8: regulator-adc-vref {
regulator-max-microvolt = <1800000>;
};
+ reg_can2_standby: regulator-can2-standby {
+ compatible = "regulator-fixed";
+ regulator-name = "can2-stby";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&adp5585 6 GPIO_ACTIVE_LOW>;
+ };
+
reg_usdhc2_vmmc: regulator-usdhc2 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -216,6 +224,13 @@ ethphy2: ethernet-phy at 2 {
};
};
+&flexcan2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_flexcan2>;
+ xceiver-supply = <®_can2_standby>;
+ status = "okay";
+};
+
&lpi2c1 {
clock-frequency = <400000>;
pinctrl-names = "default";
@@ -622,6 +637,13 @@ MX93_PAD_ENET2_TX_CTL__GPIO4_IO20 0x51e
>;
};
+ pinctrl_flexcan2: flexcan2grp {
+ fsl,pins = <
+ MX93_PAD_GPIO_IO25__CAN2_TX 0x139e
+ MX93_PAD_GPIO_IO27__CAN2_RX 0x139e
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX93_PAD_UART1_RXD__LPUART1_RX 0x31e
--
2.34.1
More information about the linux-arm-kernel
mailing list