diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach/gpio-nrs.h')
-rw-r--r-- | arch/arm/mach-s3c2410/include/mach/gpio-nrs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h b/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h index 2edbb9c88ab3..f3182ff847cb 100644 --- a/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h +++ b/arch/arm/mach-s3c2410/include/mach/gpio-nrs.h | |||
@@ -34,6 +34,10 @@ | |||
34 | #define S3C2410_GPIO_F_NR (32) | 34 | #define S3C2410_GPIO_F_NR (32) |
35 | #define S3C2410_GPIO_G_NR (32) | 35 | #define S3C2410_GPIO_G_NR (32) |
36 | #define S3C2410_GPIO_H_NR (32) | 36 | #define S3C2410_GPIO_H_NR (32) |
37 | #define S3C2410_GPIO_J_NR (32) /* technically 16. */ | ||
38 | #define S3C2410_GPIO_K_NR (32) /* technically 16. */ | ||
39 | #define S3C2410_GPIO_L_NR (32) /* technically 15. */ | ||
40 | #define S3C2410_GPIO_M_NR (32) /* technically 2. */ | ||
37 | 41 | ||
38 | #if CONFIG_S3C_GPIO_SPACE != 0 | 42 | #if CONFIG_S3C_GPIO_SPACE != 0 |
39 | #error CONFIG_S3C_GPIO_SPACE cannot be zero at the moment | 43 | #error CONFIG_S3C_GPIO_SPACE cannot be zero at the moment |
@@ -53,6 +57,10 @@ enum s3c_gpio_number { | |||
53 | S3C2410_GPIO_F_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_E), | 57 | S3C2410_GPIO_F_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_E), |
54 | S3C2410_GPIO_G_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_F), | 58 | S3C2410_GPIO_G_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_F), |
55 | S3C2410_GPIO_H_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_G), | 59 | S3C2410_GPIO_H_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_G), |
60 | S3C2410_GPIO_J_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_H), | ||
61 | S3C2410_GPIO_K_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_J), | ||
62 | S3C2410_GPIO_L_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_K), | ||
63 | S3C2410_GPIO_M_START = S3C2410_GPIO_NEXT(S3C2410_GPIO_L), | ||
56 | }; | 64 | }; |
57 | 65 | ||
58 | #endif /* __ASSEMBLY__ */ | 66 | #endif /* __ASSEMBLY__ */ |
@@ -67,6 +75,10 @@ enum s3c_gpio_number { | |||
67 | #define S3C2410_GPF(_nr) (S3C2410_GPIO_F_START + (_nr)) | 75 | #define S3C2410_GPF(_nr) (S3C2410_GPIO_F_START + (_nr)) |
68 | #define S3C2410_GPG(_nr) (S3C2410_GPIO_G_START + (_nr)) | 76 | #define S3C2410_GPG(_nr) (S3C2410_GPIO_G_START + (_nr)) |
69 | #define S3C2410_GPH(_nr) (S3C2410_GPIO_H_START + (_nr)) | 77 | #define S3C2410_GPH(_nr) (S3C2410_GPIO_H_START + (_nr)) |
78 | #define S3C2410_GPJ(_nr) (S3C2410_GPIO_J_START + (_nr)) | ||
79 | #define S3C2410_GPK(_nr) (S3C2410_GPIO_K_START + (_nr)) | ||
80 | #define S3C2410_GPL(_nr) (S3C2410_GPIO_L_START + (_nr)) | ||
81 | #define S3C2410_GPM(_nr) (S3C2410_GPIO_M_START + (_nr)) | ||
70 | 82 | ||
71 | /* compatibility until drivers can be modified */ | 83 | /* compatibility until drivers can be modified */ |
72 | 84 | ||