I mofied SPI1 in the device tree to use specific pins:
MX6QDL_PAD_DISP0_DAT22__ECSPI1_MISO
0x0ec 0x400 0x7dc 0x2 0x1 0x100b1
MX6QDL_PAD_DISP0_DAT21__ECSPI1_MOSI
0x0e8 0x3fc 0x7e0 0x2 0x1 0x100b1
MX6QDL_PAD_DISP0_DAT20__ECSPI1_SCLK
0x0e4 0x3f8 0x7d8 0x2 0x1 0x100b1
MX6QDL_PAD_DISP0_DAT23__ECSPI1_SS0
0x0f0 0x404 0x7e4 0x2 0x1 0xb1
In the kmsg I get this error:
3,140,1300801,-;imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_EIM_EB1 already requested by 20e0000.iomuxc; cannot claim for 2008000.spi
SUBSYSTEM=platform
DEVICE=+platform:20e0000.iomuxc
3,141,1316450,-;imx6dl-pinctrl 20e0000.iomuxc: pin-114 (2008000.spi) status -22
SUBSYSTEM=platform
DEVICE=+platform:20e0000.iomuxc
3,142,1325401,-;imx6dl-pinctrl 20e0000.iomuxc: could not request pin 114 (MX6DL_PAD_EIM_EB1) from group ecspi1grp on device 20e0000.iomuxc
SUBSYSTEM=platform
DEVICE=+platform:20e0000.iomuxc
3,143,1341406,-;spi_imx 2008000.spi: Error applying setting, reverse things back
SUBSYSTEM=platform
DEVICE=+platform:2008000.spi
4,144,1350529,-;spi_imx: probe of 2008000.spi failed with error -22
I double checked that I assigned the correct values in iomuxc but for some reason the log says that the kernel was trying to assign "MX6DL_PAD_EIM_EB1" to spi@2008000, which has already been requested by 20e0000.iomuxc. I tried to find out where this pin leads too in the imx6dl-pinfunc.h and imx6q-pinfunc.h files but it doesn't point to a specific ball name, just the general group of options for _EIM_EB1. I'm not sure why it's attempting to use pads I didn't request.
I’ve attached a copy of my device tree .dts file and the full kmsg log from my last run.
Thank you.