ARM: tegra: use DT bindings for GPIO naming

There are currently many places that define the list of all Tegra GPIOs;
the DT binding header and custom Tegra-specific header file gpio.h. Fix
the redundancy by replacing everything with the DT binding header file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
Stephen Warren 2016-05-12 12:07:39 -06:00 committed by Tom Warren
parent da6e2fab5d
commit 01a97a11db
20 changed files with 383 additions and 1376 deletions

View file

@ -20,8 +20,8 @@
void gpio_early_init_uart(void)
{
/* Enable UART via GPIO_PI3 (port 8, bit 3) so serial console works */
gpio_request(GPIO_PI3, "uart_en");
gpio_direction_output(GPIO_PI3, 0);
gpio_request(TEGRA_GPIO(I, 3), "uart_en");
gpio_direction_output(TEGRA_GPIO(I, 3), 0);
}
#endif