arm64: dts: imx943-evk: add flexcan support
Subsystems (2)
PATCH v2 1/1 arm64: dts: imx943-evk: add flexcan support
Add flexcan2 and flexcan4, and related phys support.
Signed-off-by Haibo Chen <[email protected]>
---
Changes in v2:
- move the can-phy0/1 before dmic, use nodename order.
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/arm64/boot/dts/freescale/imx943-evk.dts | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)
arch/arm64/boot/dts/freescale/imx943-evk.dts +43 -0
@@ -29,6 +29,22 @@ chosen { stdout-path = &lpuart1; }; + flexcan2_phy: can-phy0 { + compatible = "nxp,tjr1443"; + #phy-cells = <0>; + max-bitrate = <8000000>; + enable-gpios = <&pcal6416_i2c6_u50 3 GPIO_ACTIVE_HIGH>; + standby-gpios = <&pcal6416_i2c6_u50 4 GPIO_ACTIVE_LOW>; + }; + + flexcan4_phy: can-phy1 { + compatible = "nxp,tjr1443"; + #phy-cells = <0>; + max-bitrate = <8000000>; + enable-gpios = <&pcal6416_i2c3_u171 0 GPIO_ACTIVE_HIGH>; + standby-gpios = <&pcal6416_i2c3_u171 1 GPIO_ACTIVE_LOW>; + }; + dmic: dmic { compatible = "dmic-codec"; #sound-dai-cells = <0>;
@@ -127,6 +143,20 @@ memory@80000000 { }; }; +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + phys = <&flexcan2_phy>; + status = "okay"; +}; + +&flexcan4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan4>; + phys = <&flexcan4_phy>; + status = "okay"; +}; + &lpi2c3 { clock-frequency = <400000>; pinctrl-0 = <&pinctrl_lpi2c3>;
@@ -431,6 +461,19 @@ &sai3 { }; &scmi_iomuxc { + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + IMX94_PAD_GPIO_IO34__CAN2_TX 0x39e + IMX94_PAD_GPIO_IO35__CAN2_RX 0x39e + >; + }; + + pinctrl_flexcan4: flexcan4grp { + fsl,pins = < + IMX94_PAD_GPIO_IO36__CAN4_TX 0x39e + IMX94_PAD_GPIO_IO37__CAN4_RX 0x39e + >; + }; pinctrl_ioexpander_int2: ioexpanderint2grp { fsl,pins = <
---
base-commit: 187dac290bfd0741b9d7d5490af825c33fd9baa4
change-id: 20251118-dts-ad4bd4fdacd6
Best regards,
Signature · 1 line
Haibo Chen <[email protected]>
Shawn Guo
AppliedQuoted 3 lines · Haibo Chen
Add flexcan2 and flexcan4, and related phys support.
Signed-off-by Haibo Chen <[email protected]>
Applied, thanks!