AnsweredAssumed Answered

iMX6ULEVK - Repurpose SD1/mmc0 pins in DTS

Question asked by nickbedbury on Mar 21, 2018
Latest reply on Mar 21, 2018 by nickbedbury

I'm using the iMX6ULEVK.  I'd like to repurpose an SD1 pin for GPIO, specifically gpio1[19] (aka SD1_DAT3) to an accelerometer interrupt.  This should work since SD1 isn't being used currently (we use the micro SD card, SD2).

 

Starting with the base "imx6ul-14x14-evk.dts" and "imx6ul.dtsi", I deleted all references to MMC0, SD1, and SDHC1.  However, now the processor gets stuck during kernel init, right after the following printout:


"sm: restored 256-bit black key:
platform caam_sm: [0000] 97 9a 81 3a f7 d8 5a e9
platform caam_sm: [0008] ae 4d aa c9 a0 83 09 b2
platform caam_sm: [0016] 78 6f 1b 83 fe 23 5e 8a
platform caam_sm: [0024] b5 d7 08 fc 2c 0f 74 f7
snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver"

[stuck]

 

Can someone guide what I need to add/remove from the DTS files to get this working?  Modified files attached.

 

Thanks

Attachments

Outcomes