Browse Source

board/ti/am335x: beaglebone stop muxing i2c1_pin_mux

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>
robertcnelson@gmail.com 9 years ago
parent
commit
9606f71002
1 changed files with 0 additions and 2 deletions
  1. 0 2
      board/ti/am335x/mux.c

+ 0 - 2
board/ti/am335x/mux.c

@@ -317,7 +317,6 @@ void enable_board_pin_mux(struct am335x_baseboard_id *header)
 	/* Do board-specific muxes. */
 	/* Do board-specific muxes. */
 	if (board_is_bone(header)) {
 	if (board_is_bone(header)) {
 		/* Beaglebone pinmux */
 		/* Beaglebone pinmux */
-		configure_module_pin_mux(i2c1_pin_mux);
 		configure_module_pin_mux(mii1_pin_mux);
 		configure_module_pin_mux(mii1_pin_mux);
 		configure_module_pin_mux(mmc0_pin_mux);
 		configure_module_pin_mux(mmc0_pin_mux);
 #if defined(CONFIG_NAND)
 #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);
 		configure_module_pin_mux(mmc0_pin_mux_sk_evm);
 	} else if (board_is_bone_lt(header)) {
 	} else if (board_is_bone_lt(header)) {
 		/* Beaglebone LT pinmux */
 		/* Beaglebone LT pinmux */
-		configure_module_pin_mux(i2c1_pin_mux);
 		configure_module_pin_mux(mii1_pin_mux);
 		configure_module_pin_mux(mii1_pin_mux);
 		configure_module_pin_mux(mmc0_pin_mux);
 		configure_module_pin_mux(mmc0_pin_mux);
 #if defined(CONFIG_NAND) && defined(CONFIG_EMMC_BOOT)
 #if defined(CONFIG_NAND) && defined(CONFIG_EMMC_BOOT)