提交 22d58506 编写于 作者: T Thierry Reding 提交者: Albert ARIBAUD (U-Boot)

tegra: Implement gpio_early_init() on Tamonten

The PI4 GPIO is used on Tamonten to reset carrier board peripherals.
Power sequencing hardware on the carrier pulls the reset low before
powering up the Tegra, and the CPU is supposed to signal readiness,
and therefore bring peripherals out of reset by pulling PI4 high.
Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
Acked-by: NStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: NTom Warren <twarren@nvidia.com>
上级 cb7a1cf3
......@@ -49,6 +49,14 @@ void gpio_config_uart(void)
{
}
#ifdef CONFIG_BOARD_EARLY_INIT_F
void gpio_early_init(void)
{
gpio_request(GPIO_PI4, NULL);
gpio_direction_output(GPIO_PI4, 1);
}
#endif
#ifdef CONFIG_TEGRA2_MMC
/*
* Routine: pin_mux_mmc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册