Assuming i.MX6 is SPI master, You may configure its MOSI output as open drain one
(via ODE bit field of corresponding IOMUXC_SW_PAD_CTL_PAD register) and
connect together i.MX6 MOSI, MISO and external SPI device I/O [I/P & O/P].
If needed, external device I/O should be configured for open drain too.
When configuring GPIO, the Processor Expert for i.MX may be useful.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=PROCESSOR-EXPERT-IMX
https://community.freescale.com/docs/DOC-101470
Also, the following app note helps to setup pin’s electrical properties.
“Influence of Pin Setting on System Function and Performance”
http://www.freescale.com/files/32bit/doc/app_note/AN5078.pdf
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------