]> git.sur5r.net Git - u-boot/commitdiff
board/ti/am335x: beaglebone stop muxing i2c1_pin_mux
authorrobertcnelson@gmail.com <robertcnelson@gmail.com>
Wed, 21 Oct 2015 14:25:55 +0000 (09:25 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 12 Nov 2015 18:19:02 +0000 (13:19 -0500)
On the BeagleBone these i2c1 pins are routed to the expanasion header, where
they can be defined as either pr1_usart0_Xxd/pwm0/spi0/i2c1, dont assume i2c1

Fixes: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/313894/1387696
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Reported-by: Matthijs van Duin <matthijsvanduin@gmail.com>
CC: Tom Rini <trini@konsulko.com>
board/ti/am335x/mux.c

index 28c29a2f9cba4c099f2cfefeda6b5a97cd0dee53..79ed02f68f771d4897ae1b2d96bfba577c3f1e85 100644 (file)
@@ -317,7 +317,6 @@ void enable_board_pin_mux(struct am335x_baseboard_id *header)
        /* Do board-specific muxes. */
        if (board_is_bone(header)) {
                /* Beaglebone pinmux */
-               configure_module_pin_mux(i2c1_pin_mux);
                configure_module_pin_mux(mii1_pin_mux);
                configure_module_pin_mux(mmc0_pin_mux);
 #if defined(CONFIG_NAND)
@@ -356,7 +355,6 @@ void enable_board_pin_mux(struct am335x_baseboard_id *header)
                configure_module_pin_mux(mmc0_pin_mux_sk_evm);
        } else if (board_is_bone_lt(header)) {
                /* Beaglebone LT pinmux */
-               configure_module_pin_mux(i2c1_pin_mux);
                configure_module_pin_mux(mii1_pin_mux);
                configure_module_pin_mux(mmc0_pin_mux);
 #if defined(CONFIG_NAND) && defined(CONFIG_EMMC_BOOT)