[meta-freescale] eCSPI driver not loading

Michael Brainerd mbrainerd at protoprod.com
Thu Dec 22 14:07:53 PST 2016


need some help in getting eCSPI 1 driver loaded on iMX6Q processor on a Variscite DART-MX6.
Attaching .config file.

Boot log of the error:

loop: module loaded
spi_master spi0: cannot find modalias for /soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02008000/ecspi1grp
spi_master spi0: Failed to create SPI device for /soc/aips-bus at 02000000/spba-bus at 02000000/ecspi at 02008000/ecspi1grp
spi_imx 2008000.ecspi: probed


The following is what I put in the end of 'imx6qdl-var-dart.dtsi' file.

&ecspi1 {
    fsl,spi-num-chipselects = <1>;
    cs-gpios = <&gpio4 9 0>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_ecspi1_1>;
    status = "okay";

        chip1: spidev at 0 {
               compatible = "spidev";
               spi-max-frequency = <12000000>;
               reg = <0>;
        };
/*
        chip2: spidev at 1 {
               compatible = "spidev";
               spi-max-frequency = <20000000>;
               reg = <1>;
    };
*/
    pinctrl_ecspi1_1: ecspi1grp {
        fsl,pins = <
            MX6QDL_PAD_KEY_COL1__ECSPI1_MISO    0x100b1
            MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI    0x100b1
            MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK    0x100b1
            MX6QDL_PAD_KEY_ROW1__GPIO4_IO09     0x80000000
        >;
    };
};

Can anyone help?
Regards,
Mike Brainerd
CONFIDENTIALITY NOTICE

This e-mail message, including any attachments, may contain confidential information which is intended only for the use of the intended recipient(s). Any unauthorized review, use, disclosure, distribution, dissemination or action taken in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient and this message has been addressed to you in error, please promptly notify the sender by email reply and destroy all copies of the message and any attachments.

EXPORT CONTROL NOTICE

This document and attachments may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10 or the Export Administration Regulations (EAR) 15 CFR Parts 730 – 780 . Export of this material may be controlled by these regulations and may not be exported or transferred to non-U.S. persons without prior written approval from the U.S. government.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20161222/91b1aed2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 101361 bytes
Desc: config
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20161222/91b1aed2/attachment.obj>


More information about the meta-freescale mailing list