Hi Michael,
could you please try moving the following part of your dts:
pinctrl_ecspi1_1: ecspi1grp {
fsl,pins = <
MX6QDL_PAD_KEY_COL1__ECSPI1_MISO0x100b1
MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI0x100b1
MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK0x100b1
MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x8000
>;
};
in the "iomuxc => imx6qdl-var-som-mx6" section, let's say just before the
pinctrl_ecspi3_1 declaration?
In case you are still failing the boot, could you please share a full boot log?
Thanks
BR
Simon Dror
On 12/01/2017 14:13, Otavio Salvador wrote:
> Hello Michael,
>
> On Thu, Dec 22, 2016 at 8:07 PM, Michael Brainerd
> 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@0200/spba-bus@0200/ecspi@02008000/ecspi1grp
>> spi_master spi0: Failed to create SPI device for
>> /soc/aips-bus@0200/spba-bus@0200/ecspi@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@0 {
>>compatible = "spidev";
>>spi-max-frequency = <1200>;
>>reg = <0>;
>> };
>> /*
>> chip2: spidev@1 {
>>compatible = "spidev";
>>spi-max-frequency = <2000>;
>>reg = <1>;
>> };
>> */
>> pinctrl_ecspi1_1: ecspi1grp {
>> fsl,pins = <
>> MX6QDL_PAD_KEY_COL1__ECSPI1_MISO0x100b1
>> MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI0x100b1
>> MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK0x100b1
>> MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x8000
>> >;
>> };
>> };
>>
>> Can anyone help?
>
> I am adding Variscite people on Cc so they can provided some advice.
--
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale