MCP2518FD : Failed to detect MCP2518FD (osc=0x00000000)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Folks,

I am working on an IMX7D board. Some time ago I have back-ported the MCP2518FD driver to the official 5.4.70 NXP kernel and it works fine.

I am struggleing to get the mcp driver working on the latest nxp kernel 5.10.72.

Same hardware.

I did not find any unusal in the logs. pinctrl did not complain, spi seems to initialize normal.

The old kernel with the new (almost old one) device tree works. The new kernel did not work with the old or new device tree.

At the moment I am stuck. Could be anything. Must not be the driver itself.

BR
Niels



        mcp2518fd_clk: mcp2818fd_clk {
                compatible = "fixed-clock";
                #clock-cells = <0>;
                clock-frequency = <40000000>;
        };


&ecspi2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi2>;
        status = "okay";

        fsl,spi-num-chipselects = <2>;
        cs-gpios = <&gpio5 1 0>, <&gpio1 3 0>;

        mcp2518fd@0 {
                compatible = "microchip,mcp2518fd";
                reg = <0>;
                interrupts-extended = <&gpio3 0 IRQ_TYPE_LEVEL_LOW>;
                spi-max-frequency = <20000000>;
                clocks = <&mcp2518fd_clk>;
        };

        mcp2518fd@1 {
                compatible = "microchip,mcp2518fd";
                reg = <1>;
                interrupts-extended = <&gpio4 23 IRQ_TYPE_LEVEL_LOW>;
                spi-max-frequency = <20000000>;
                clocks = <&mcp2518fd_clk>;
        };
};



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux