]> www.infradead.org Git - users/griffoul/linux.git/commitdiff
arm64: dts: imx95-19x19-evk: correct the phy setting for flexcan1/2
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 19 Aug 2025 02:43:37 +0000 (10:43 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 09:18:29 +0000 (17:18 +0800)
1, the phy support up to 8Mbit/s databitrate for CAN FD.
   refer to product data sheet:
     https://www.nxp.com/docs/en/data-sheet/TJA1463.pdf
2, the standby pin of the phy is ACTIVE_LOW.
3, the phy of flexcan2 connect the standby/en pin to PCAL6408 on i2c4 bus.

Fixes: 02b7adb791e1 ("arm64: dts: imx95-19x19-evk: add adc0 flexcan[1,2] i2c[2,3] uart5 spi3 and tpm3")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts

index 2f949a0d48d2d8066388884703c3b3cd678f16e1..9d034275c847606919af8ee4a80a00599abf4d8b 100644 (file)
        flexcan1_phy: can-phy0 {
                compatible = "nxp,tjr1443";
                #phy-cells = <0>;
-               max-bitrate = <1000000>;
+               max-bitrate = <8000000>;
                enable-gpios = <&i2c6_pcal6416 6 GPIO_ACTIVE_HIGH>;
-               standby-gpios = <&i2c6_pcal6416 5 GPIO_ACTIVE_HIGH>;
+               standby-gpios = <&i2c6_pcal6416 5 GPIO_ACTIVE_LOW>;
        };
 
        flexcan2_phy: can-phy1 {
                compatible = "nxp,tjr1443";
                #phy-cells = <0>;
-               max-bitrate = <1000000>;
-               enable-gpios = <&i2c6_pcal6416 4 GPIO_ACTIVE_HIGH>;
-               standby-gpios = <&i2c6_pcal6416 3 GPIO_ACTIVE_HIGH>;
+               max-bitrate = <8000000>;
+               enable-gpios = <&i2c4_gpio_expander_21 4 GPIO_ACTIVE_HIGH>;
+               standby-gpios = <&i2c4_gpio_expander_21 3 GPIO_ACTIVE_LOW>;
        };
 
        reg_vref_1v8: regulator-1p8v {