]> git.sur5r.net Git - u-boot/commitdiff
ARM: AM335x: mux: change mmc0 cd pinmux from mmc0_sdcd to gpio
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 13 Oct 2015 08:32:29 +0000 (14:02 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:44:03 +0000 (14:44 -0400)
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>
board/ti/am335x/mux.c

index 680f6560f25780897fa01792464066bc320ab5c8..28c29a2f9cba4c099f2cfefeda6b5a97cd0dee53 100644 (file)
@@ -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},
 };