diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-08-06 00:47:11 +0200 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-08-13 13:06:03 -0700 |
commit | b7b206706208a0c7509b7addda7c5f15c7b2fec6 (patch) | |
tree | 55f95b09782143185113aaa36017fa49ba4e4d0f /board/toradex/colibri_t20 | |
parent | 36a01bdd8046e60d9b249b409457d4fbb5b9396e (diff) |
colibri_t20: fix reset out pin
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>
Diffstat (limited to 'board/toradex/colibri_t20')
-rw-r--r-- | board/toradex/colibri_t20/colibri_t20.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 42b293d81e..83e1ddc734 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -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"); |