gpio.h 476 B

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