Imx8 SD CD pinout

I am designing a board with SD interface and I am using pin 164 for Card Detect pin. However, from datasheet ( page 24), it does not show that the pin is used for card detect purpose.

From pg 54 of the datasheet, it shows that pin 158 is used for CD but pin 164 is preferred for compatibility reason.
I would like to check which pin is usable in this case or both pin can be used?

Hi, can anyone help me with this?

You can use any of that pins for Card Detect, however all our reference BSP are using pin 164 for that purpose. If you decided to use pin 158 you will need to modify Linux Device Tree to reflect it.

1 Like