summaryrefslogtreecommitdiff
path: root/configs/khadas-vim3l_defconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-09-21 10:34:15 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2020-10-05 18:59:45 +0300
commitadbff64af7b7cee3e0007b75df2644090edaafcb (patch)
tree8a8129db409b77535e8fa300484acb29300342c3 /configs/khadas-vim3l_defconfig
parentcb4a7feb54b5143905f720afb582e2aeef4937ef (diff)
downloadu-boot-adbff64af7b7cee3e0007b75df2644090edaafcb.tar.xz
board: amlogic: vim3: add support for dynamic PCIe enable
The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential lines using a FUSB340TMX USB 3.1 SuperSpeed Data Switch between an USB3.0 Type A connector and a M.2 Key M slot. The PHY driving these differential lines is shared between the USB3.0 controller and the PCIe Controller, thus only a single controller can use it. This adds this dynamic switching right before booting Linux and the configuration steps in the boards documentation. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Tested-by: Kevin Hilman <khilman@baylibre.com> [narmstrong: fixed warning by replacing min() by min_t()]
Diffstat (limited to 'configs/khadas-vim3l_defconfig')
-rw-r--r--configs/khadas-vim3l_defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/khadas-vim3l_defconfig b/configs/khadas-vim3l_defconfig
index 5729d339e9..39e74c3ccb 100644
--- a/configs/khadas-vim3l_defconfig
+++ b/configs/khadas-vim3l_defconfig
@@ -17,6 +17,7 @@ CONFIG_MISC_INIT_R=y
# CONFIG_CMD_BDI is not set
# CONFIG_CMD_IMI is not set
CONFIG_CMD_GPIO=y
+CONFIG_CMD_I2C=y
# CONFIG_CMD_LOADS is not set
CONFIG_CMD_MMC=y
CONFIG_CMD_SF_TEST=y
@@ -28,6 +29,8 @@ CONFIG_CMD_REGULATOR=y
CONFIG_OF_CONTROL=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_DM_I2C=y
+CONFIG_SYS_I2C_MESON=y
CONFIG_DM_MMC=y
CONFIG_MMC_MESON_GX=y
CONFIG_MTD=y