[meta-freescale] eCSPI driver not loading
Otavio Salvador
otavio.salvador at ossystems.com.br
Thu Jan 12 05:13:13 PST 2017
Hello Michael,
On Thu, Dec 22, 2016 at 8:07 PM, Michael Brainerd
<mbrainerd at protoprod.com> wrote:
> 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?
I am adding Variscite people on Cc so they can provided some advice.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the meta-freescale
mailing list