mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
boards/arm/imxrt/imxrt1020-evk/include/board.h: Enable the GPIO based CD.
This commit is contained in:
committed by
Gregory Nutt
parent
2cbcb8fd00
commit
eb2bcfc44f
@@ -264,6 +264,13 @@
|
|||||||
#define PIN_USDHC1_DCLK (GPIO_USDHC1_CLK_1 | IOMUX_USDHC1_CLK_DEFAULT) /* SD_B0_03 */
|
#define PIN_USDHC1_DCLK (GPIO_USDHC1_CLK_1 | IOMUX_USDHC1_CLK_DEFAULT) /* SD_B0_03 */
|
||||||
#define PIN_USDHC1_CMD (GPIO_USDHC1_CMD_1 | IOMUX_USDHC1_CMD_DEFAULT) /* SD_B0_02 */
|
#define PIN_USDHC1_CMD (GPIO_USDHC1_CMD_1 | IOMUX_USDHC1_CMD_DEFAULT) /* SD_B0_02 */
|
||||||
|
|
||||||
|
/* N.B. This is not using a USDHC CD_B input but a regular GPIO. The
|
||||||
|
* post-fix _GPIO enables GPIO testing logic in the USDHC driver.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define PIN_USDHC1_CD_GPIO (IOMUX_VSD_DEFAULT | \
|
||||||
|
GPIO_PORT3 | GPIO_PIN19 ) /* SD_B0_06 */
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Public Types
|
* Public Types
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user