mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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:
parent
da6e2fab5d
commit
01a97a11db
20 changed files with 383 additions and 1376 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue