gpio.h 476 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
  4. */
  5. #ifndef _TEGRA114_GPIO_H_
  6. #define _TEGRA114_GPIO_H_
  7. /*
  8. * The Tegra114 GPIO controller has 246 GPIOS in 8 banks of 4 ports,
  9. * each with 8 GPIOs.
  10. */
  11. #define TEGRA_GPIO_PORTS 4 /* number of ports per bank */
  12. #define TEGRA_GPIO_BANKS 8 /* number of banks */
  13. #include <asm/arch-tegra/gpio.h>
  14. #include <asm/arch-tegra30/gpio.h>
  15. #endif /* _TEGRA114_GPIO_H_ */