diff options
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-tegra114/gpio.h')
-rw-r--r-- | roms/u-boot/arch/arm/include/asm/arch-tegra114/gpio.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-tegra114/gpio.h b/roms/u-boot/arch/arm/include/asm/arch-tegra114/gpio.h new file mode 100644 index 000000000..4f084e2de --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-tegra114/gpio.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. + */ + +#ifndef _TEGRA114_GPIO_H_ +#define _TEGRA114_GPIO_H_ + +/* + * The Tegra114 GPIO controller has 246 GPIOS in 8 banks of 4 ports, + * each with 8 GPIOs. + */ +#define TEGRA_GPIO_PORTS 4 /* number of ports per bank */ +#define TEGRA_GPIO_BANKS 8 /* number of banks */ + +#include <asm/arch-tegra/gpio.h> +#include <asm/arch-tegra30/gpio.h> + +#endif /* _TEGRA114_GPIO_H_ */ |