blob: e62a3f666d35a5e7861c47daffaf4dc8c1a6d747 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* linux/arch/arm/mach-exynos/include/mach/gpio.h
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* EXYNOS - gpio map definitions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_GPIO_H
#define __ASM_ARCH_GPIO_H __FILE__
#include "gpio-exynos4.h"
#include "gpio-exynos5.h"
#if defined(CONFIG_ARCH_EXYNOS4)
#define S3C_GPIO_END EXYNOS4_GPIO_END
#define ARCH_NR_GPIOS (EXYNOS4XXX_GPIO_END + \
CONFIG_SAMSUNG_GPIO_EXTRA)
#elif defined(CONFIG_ARCH_EXYNOS5)
#define S3C_GPIO_END EXYNOS5_GPIO_END
#define ARCH_NR_GPIOS (EXYNOS5_GPIO_END + \
CONFIG_SAMSUNG_GPIO_EXTRA)
#else
#error "ARCH_EXYNOS* is not defined"
#endif
#include <asm-generic/gpio.h>
#endif /* __ASM_ARCH_GPIO_H */
|