colibri_t20: fix reset out pin
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 5 Aug 2015 22:47:11 +0000 (00:47 +0200)
committerTom Warren <twarren@nvidia.com>
Thu, 13 Aug 2015 20:06:03 +0000 (13:06 -0700)
Make sure SODIMM pin 87 nRESET_OUT is released properly by explicitly
setting its pin mux function to GMI. This solves some issues with e.g.
USB not being fully operational on carrier boards with USB hubs
connected to reset if U-Boot got loaded via recovery mode aka rcm.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/toradex/colibri_t20/colibri_t20.c

index 42b293d81ec33dd884a0e10828ac3eea7fdfc770..83e1ddc734c07cdf2e8392bfa4141d7ba861a458 100644 (file)
@@ -51,6 +51,9 @@ int arch_misc_init(void)
                return err;
        }
 
+       /* make sure SODIMM pin 87 nRESET_OUT is released properly */
+       pinmux_set_func(PMUX_PINGRP_ATA, PMUX_FUNC_GMI);
+
        if (readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BOOTTYPE) ==
            NVBOOTTYPE_RECOVERY)
                printf("USB recovery mode\n");