PDK-6948: Board: Added mmc1 loopback clock config for am64x evm pinmux
authorM V Pratap Reddy <x0257344@ti.com>
Sat, 21 Nov 2020 13:53:00 +0000 (07:53 -0600)
committerM V Pratap Reddy <x0257344@ti.com>
Sat, 21 Nov 2020 13:53:00 +0000 (07:53 -0600)
 - Communication with SD card is failing without enabling the pinmux for
   MMC1_CLKLB pin

packages/ti/board/src/am64x_evm/AM64x_pinmux.h
packages/ti/board/src/am64x_evm/AM64x_pinmux_data.c

index e89814387bd306b28e18de1d64ef63d5b124d950..98d176dcc1ed40229aaf7bdc07f0cc79dc880b61 100755 (executable)
@@ -118,6 +118,7 @@ enum pinMainOffsets
        PIN_PRG0_PRU1_GPO18              = 0x01F8,\r
        PIN_MMC1_CMD             = 0x0294,\r
        PIN_MMC1_CLK             = 0x028C,\r
+       PIN_MMC1_CLKLB           = 0x0290,\r
        PIN_MMC1_DAT0            = 0x0288,\r
        PIN_MMC1_DAT1            = 0x0284,\r
        PIN_MMC1_DAT2            = 0x0280,\r
index 8fcfd150052f077f63cb46522735472641293aab..002e4512df8043bfffd40efa617d5d901e6ada29 100755 (executable)
@@ -428,6 +428,11 @@ static pinmuxPerCfg_t gMmc11PinCfg[] =
         PIN_MMC1_CLK, PIN_MODE(0) | \\r
         ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION))\r
     },\r
+    /* MyMMC11 -> MMC1_CLKLB */\r
+    {\r
+        PIN_MMC1_CLKLB, PIN_MODE(0) | \\r
+        ((PIN_PULL_DIRECTION | PIN_INPUT_ENABLE) & (~PIN_PULL_DISABLE))\r
+    },\r
     /* MyMMC11 -> MMC1_DAT0 -> K21 */\r
     {\r
         PIN_MMC1_DAT0, PIN_MODE(0) | \\r