blob: 76bc52cb57b050a4831a65816f2de4255f8dc729 [file] [log] [blame]
Gabriel Huaudd159302012-05-02 10:49:55 +00001/*
2 * Copyright (c) 2012.
3 *
4 * Gabriel Huau <contact@huau-gabriel.fr>
5 *
6 * See file CREDITS for list of people who contributed to this
7 * project.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 * MA 02111-1307 USA
23 */
24
25#ifndef _S3C24X0_GPIO_H_
26#define _S3C24X0_GPIO_H_
27
28enum s3c2440_gpio {
29 GPA0,
30 GPA1,
31 GPA2,
32 GPA3,
33 GPA4,
34 GPA5,
35 GPA6,
36 GPA7,
37 GPA8,
38 GPA9,
39 GPA10,
40 GPA11,
41 GPA12,
42 GPA13,
43 GPA14,
44 GPA15,
45 GPA16,
46 GPA17,
47 GPA18,
48 GPA19,
49 GPA20,
50 GPA21,
51 GPA22,
52 GPA23,
53 GPA24,
54
55 GPB0 = 32,
56 GPB1,
57 GPB2,
58 GPB3,
59 GPB4,
60 GPB5,
61 GPB6,
62 GPB7,
63 GPB8,
64 GPB9,
65 GPB10,
66
67 GPC0 = 64,
68 GPC1,
69 GPC2,
70 GPC3,
71 GPC4,
72 GPC5,
73 GPC6,
74 GPC7,
75 GPC8,
76 GPC9,
77 GPC10,
78 GPC11,
79 GPC12,
80 GPC13,
81 GPC14,
82 GPC15,
83
84 GPD0 = 96,
85 GPD1,
86 GPD2,
87 GPD3,
88 GPD4,
89 GPD5,
90 GPD6,
91 GPD7,
92 GPD8,
93 GPD9,
94 GPD10,
95 GPD11,
96 GPD12,
97 GPD13,
98 GPD14,
99 GPD15,
100
101 GPE0 = 128,
102 GPE1,
103 GPE2,
104 GPE3,
105 GPE4,
106 GPE5,
107 GPE6,
108 GPE7,
109 GPE8,
110 GPE9,
111 GPE10,
112 GPE11,
113 GPE12,
114 GPE13,
115 GPE14,
116 GPE15,
117
118 GPF0 = 160,
119 GPF1,
120 GPF2,
121 GPF3,
122 GPF4,
123 GPF5,
124 GPF6,
125 GPF7,
126
127 GPG0 = 192,
128 GPG1,
129 GPG2,
130 GPG3,
131 GPG4,
132 GPG5,
133 GPG6,
134 GPG7,
135 GPG8,
136 GPG9,
137 GPG10,
138 GPG11,
139 GPG12,
140 GPG13,
141 GPG14,
142 GPG15,
143
144 GPH0 = 224,
145 GPH1,
146 GPH2,
147 GPH3,
148 GPH4,
149 GPH5,
150 GPH6,
151 GPH7,
152 GPH8,
153 GPH9,
154 GPH10,
155
156 GPJ0 = 256,
157 GPJ1,
158 GPJ2,
159 GPJ3,
160 GPJ4,
161 GPJ5,
162 GPJ6,
163 GPJ7,
164 GPJ8,
165 GPJ9,
166 GPJ10,
167 GPJ11,
168 GPJ12,
169};
170
171#endif