am335x: add mux config for DDR3 version of beaglebone
authorKoen Kooi <koen@dominion.thruhere.net>
Tue, 23 Oct 2012 01:56:40 +0000 (01:56 +0000)
committerTom Rini <trini@ti.com>
Tue, 30 Oct 2012 22:28:44 +0000 (15:28 -0700)
This fixes the following boothang in SPL:

Unknown board, cannot configure pinmux.### ERROR ### Please RESET the board ###

Future commits will add pinmuxes for more on-board peripherals.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
board/ti/am335x/mux.c

index 6a5f23a551c9a08b12ffe81d5b30640d5d6e7006..acb8ff3e5c2fbe4f520e6369ab67583da87e1975 100644 (file)
@@ -256,6 +256,12 @@ void enable_board_pin_mux(struct am335x_baseboard_id *header)
                configure_module_pin_mux(gpio0_7_pin_mux);
                configure_module_pin_mux(rgmii1_pin_mux);
                configure_module_pin_mux(mmc0_pin_mux_sk_evm);
+       } else if (!strncmp(header->name, "A335BNLT", HDR_NAME_LEN)) {
+               /* Beaglebone LT pinmux */
+               configure_module_pin_mux(i2c1_pin_mux);
+               configure_module_pin_mux(mii1_pin_mux);
+               configure_module_pin_mux(mmc0_pin_mux);
+               configure_module_pin_mux(mmc1_pin_mux);
        } else {
                puts("Unknown board, cannot configure pinmux.");
                hang();