aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/toradex/colibri_t20_iris
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/toradex/colibri_t20_iris')
-rw-r--r--roms/u-boot/board/toradex/colibri_t20_iris/Makefile9
-rw-r--r--roms/u-boot/board/toradex/colibri_t20_iris/colibri_t20_iris.c36
2 files changed, 45 insertions, 0 deletions
diff --git a/roms/u-boot/board/toradex/colibri_t20_iris/Makefile b/roms/u-boot/board/toradex/colibri_t20_iris/Makefile
new file mode 100644
index 00000000..ebeac70e
--- /dev/null
+++ b/roms/u-boot/board/toradex/colibri_t20_iris/Makefile
@@ -0,0 +1,9 @@
+#
+# (C) Copyright 2012 Lucas Stach
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y := ../../nvidia/common/board.o
+obj-y += ../colibri_t20-common/colibri_t20-common.o
+obj-y += colibri_t20_iris.o
diff --git a/roms/u-boot/board/toradex/colibri_t20_iris/colibri_t20_iris.c b/roms/u-boot/board/toradex/colibri_t20_iris/colibri_t20_iris.c
new file mode 100644
index 00000000..49c74f34
--- /dev/null
+++ b/roms/u-boot/board/toradex/colibri_t20_iris/colibri_t20_iris.c
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2012 Lucas Stach
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <asm/gpio.h>
+#include <asm/arch/clock.h>
+#include <asm/arch/funcmux.h>
+#include <asm/arch/pinmux.h>
+#include <asm/arch-tegra/board.h>
+
+#include "../colibri_t20-common/colibri_t20-common.h"
+
+#ifdef CONFIG_USB_EHCI_TEGRA
+void pin_mux_usb(void)
+{
+ colibri_t20_common_pin_mux_usb();
+
+ /* USB 1 aka Tegra USB port 3 VBus*/
+ pinmux_tristate_disable(PMUX_PINGRP_SPIG);
+}
+#endif
+
+#ifdef CONFIG_TEGRA_MMC
+/*
+ * Routine: pin_mux_mmc
+ * Description: setup the pin muxes/tristate values for the SDMMC(s)
+ */
+void pin_mux_mmc(void)
+{
+ funcmux_select(PERIPH_ID_SDMMC4, FUNCMUX_SDMMC4_ATB_GMA_4_BIT);
+ pinmux_tristate_disable(PMUX_PINGRP_GMB);
+}
+#endif