Overview

This wiki page has more detailed information about mux on IGEPv2.
Read general 'Mux configuration' page before use it. This article contains:

How-to disable some external peripherals to avoid interferences

Some detailed examples.

Disable Peripherals

Some connectors share multiple peripherals like OMAP, WIFI/BT combo, etc. You should disable unused peripherals to avoid interferences. For example: if you want to control WIFI module via J990 disable OMAP or if you want use UART2 at j990 disable Bluetooth. See schematics or connectors summary for more information.

BT/WIFI Combo

Bluetooth and WIFI can be disabled separately with reset pins: RESET_N_W (for WIFI) in pad 47 and RST_N_B (for Bluetooth) in pad 16:

"igep00x0_wifi_bt_init" function initializes WIFI and Bluetooth peripherals. "opt" variable is used for disable Bluetooth in some cases: enabled (opt!=0) or disabled (opt==0). For example you can disable it permanently replacing "opt" by 1:

WIFI

First way:

This mode has a issue, when your system reboot or shutdown you will need to configure again. Using user space to configure mux and disable WIFI. If you need bluetooth activate, configure it before disable WIFI. Follow this tutorial.