summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-10-13 14:02:29 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:44:03 -0400
commit9f13b6d147dc74f2400ce18d9d4005ba53f21fd3 (patch)
tree4731dbe1c7371c0c797641d9e755a93e614ec930
parent1ed0f85fafcbc466081deb7640a62e0a603ba8e0 (diff)
downloadu-boot-9f13b6d147dc74f2400ce18d9d4005ba53f21fd3.tar.gz
u-boot-9f13b6d147dc74f2400ce18d9d4005ba53f21fd3.tar.bz2
u-boot-9f13b6d147dc74f2400ce18d9d4005ba53f21fd3.zip
ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio
Currently omap_hsmmc driver doesn't use sdcd pin to detect whether the card is present or not. Instead the same pin is used as GPIO to detect card presence. So change the pin mux mode from mmc0_sdcd to gpio0_6. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/ti/am335x/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c
index 680f6560f2..28c29a2f9c 100644
--- a/board/ti/am335x/mux.c
+++ b/board/ti/am335x/mux.c
@@ -65,7 +65,7 @@ static struct module_pin_mux mmc0_pin_mux[] = {
{OFFSET(mmc0_clk), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_CLK */
{OFFSET(mmc0_cmd), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_CMD */
{OFFSET(mcasp0_aclkr), (MODE(4) | RXACTIVE)}, /* MMC0_WP */
- {OFFSET(spi0_cs1), (MODE(5) | RXACTIVE | PULLUP_EN)}, /* MMC0_CD */
+ {OFFSET(spi0_cs1), (MODE(7) | RXACTIVE | PULLUP_EN)}, /* GPIO0_6 */
{-1},
};