aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-09-12 11:12:56 +0200
committerTom Warren <twarren@nvidia.com>2020-12-04 13:21:15 -0700
commit1b56cd868e3c691625aa9bce2f475fcd4cf0405a (patch)
tree65e31f1b003aa796dd336be186a53e97a9e5d3e8
parent8e487f38cc6408d0045194eec2271695da31b321 (diff)
downloadu-boot-1b56cd868e3c691625aa9bce2f475fcd4cf0405a.zip
u-boot-1b56cd868e3c691625aa9bce2f475fcd4cf0405a.tar.gz
u-boot-1b56cd868e3c691625aa9bce2f475fcd4cf0405a.tar.bz2
colibri_t30: disable rs232 serial transceiver forceoff pins
Use gpio_early_init_uart() function to disable RS232 serial transceiver ForceOFF# pins on Iris. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--board/toradex/colibri_t30/colibri_t30.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/toradex/colibri_t30/colibri_t30.c b/board/toradex/colibri_t30/colibri_t30.c
index c5562f6..20cbb75 100644
--- a/board/toradex/colibri_t30/colibri_t30.c
+++ b/board/toradex/colibri_t30/colibri_t30.c
@@ -58,6 +58,17 @@ void pinmux_init(void)
}
/*
+ * Disable RS232 serial transceiver ForceOFF# pins on Iris
+ */
+void gpio_early_init_uart(void)
+{
+ gpio_request(TEGRA_GPIO(X, 6), "Force OFF# X13");
+ gpio_direction_output(TEGRA_GPIO(X, 6), 1);
+ gpio_request(TEGRA_GPIO(X, 7), "Force OFF# X14");
+ gpio_direction_output(TEGRA_GPIO(X, 7), 1);
+}
+
+/*
* Enable AX88772B USB to LAN controller
*/
void pin_mux_usb(void)