blob: c6a3c3be64f2756c93eb289ae9aa881044cd7536 [file] [log] [blame]
Subrata Baniked7275f2015-08-22 10:36:41 +05301/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2013 Google Inc.
5 * Copyright (C) 2016 Intel Corp.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#ifndef _SOC_GPIO_DEFS_H_
18#define _SOC_GPIO_DEFS_H_
19
20/* GPSOUTHWEST */
21#define GP_SW_00 0
22#define GP_SW_01 1
23#define GP_SW_02 2
24#define GP_SW_03 3
25#define GP_SW_04 4
26#define GP_SW_05 5
27#define GP_SW_06 6
28#define GP_SW_07 7
29#define GP_SW_15 8
30#define GP_SW_16 9
31#define GP_SW_17 10
32#define GP_SW_18 11
33#define GP_SW_19 12
34#define GP_SW_20 13
35#define GP_SW_21 14
36#define GP_SW_22 15
37#define GP_SW_30 16
38#define GP_SW_31 17
39#define GP_SW_32 18
40#define GP_SW_33 19
41#define GP_SW_34 20
42#define GP_SW_35 21
43#define GP_SW_36 22
44#define GP_SW_37 23
45#define GP_SW_45 24
46#define GP_SW_46 25
47#define GP_SW_47 26
48#define GP_SW_48 27
49#define GP_SW_49 28
50#define GP_SW_50 29
51#define GP_SW_51 30
52#define GP_SW_52 31
53#define GP_SW_60 32
54#define GP_SW_61 33
55#define GP_SW_62 34
56#define GP_SW_63 35
57#define GP_SW_64 36
58#define GP_SW_65 37
59#define GP_SW_66 38
60#define GP_SW_67 39
61#define GP_SW_75 40
62#define GP_SW_76 41
63#define GP_SW_77 42
64#define GP_SW_78 43
65#define GP_SW_79 44
66#define GP_SW_80 45
67#define GP_SW_81 46
68#define GP_SW_82 47
69#define GP_SW_90 48
70#define GP_SW_91 49
71#define GP_SW_92 50
72#define GP_SW_93 51
73#define GP_SW_94 52
74#define GP_SW_95 53
75#define GP_SW_96 54
76#define GP_SW_97 55
77/* GPNORTH */
78#define GP_NC_00 56
79#define GP_NC_01 57
80#define GP_NC_02 58
81#define GP_NC_03 59
82#define GP_NC_04 60
83#define GP_NC_05 61
84#define GP_NC_06 62
85#define GP_NC_07 63
86#define GP_NC_08 64
87#define GP_NC_15 65
88#define GP_NC_16 66
89#define GP_NC_17 67
90#define GP_NC_18 68
91#define GP_NC_19 69
92#define GP_NC_20 70
93#define GP_NC_21 71
94#define GP_NC_22 72
95#define GP_NC_23 73
96#define GP_NC_24 74
97#define GP_NC_25 75
98#define GP_NC_26 76
99#define GP_NC_27 77
100#define GP_NC_30 78
101#define GP_NC_31 79
102#define GP_NC_32 80
103#define GP_NC_33 81
104#define GP_NC_34 82
105#define GP_NC_35 83
106#define GP_NC_36 84
107#define GP_NC_37 85
108#define GP_NC_38 86
109#define GP_NC_39 87
110#define GP_NC_40 88
111#define GP_NC_41 89
112#define GP_NC_45 90
113#define GP_NC_46 91
114#define GP_NC_47 92
115#define GP_NC_48 93
116#define GP_NC_49 94
117#define GP_NC_50 95
118#define GP_NC_51 96
119#define GP_NC_52 97
120#define GP_NC_53 98
121#define GP_NC_54 99
122#define GP_NC_55 100
123#define GP_NC_56 101
124#define GP_NC_60 102
125#define GP_NC_61 103
126#define GP_NC_62 104
127#define GP_NC_63 105
128#define GP_NC_64 106
129#define GP_NC_65 107
130#define GP_NC_66 108
131#define GP_NC_67 119
132#define GP_NC_68 110
133#define GP_NC_69 111
134#define GP_NC_70 112
135#define GP_NC_71 113
136#define GP_NC_72 114
137/* GPEAST */
138#define GP_E_00 115
139#define GP_E_01 116
140#define GP_E_02 117
141#define GP_E_03 118
142#define GP_E_04 119
143#define GP_E_05 120
144#define GP_E_06 121
145#define GP_E_07 122
146#define GP_E_08 123
147#define GP_E_09 124
148#define GP_E_10 125
149#define GP_E_11 126
150#define GP_E_15 127
151#define GP_E_16 128
152#define GP_E_17 129
153#define GP_E_18 130
154#define GP_E_19 131
155#define GP_E_20 132
156#define GP_E_21 133
157#define GP_E_22 134
158#define GP_E_23 135
159#define GP_E_24 136
160#define GP_E_25 137
161#define GP_E_26 138
162/* GPSOUTHEAST */
163#define GP_SE_00 139
164#define GP_SE_01 140
165#define GP_SE_02 141
166#define GP_SE_03 142
167#define GP_SE_04 143
168#define GP_SE_05 144
169#define GP_SE_06 145
170#define GP_SE_07 146
171#define GP_SE_15 147
172#define GP_SE_16 148
173#define GP_SE_17 149
174#define GP_SE_18 150
175#define GP_SE_19 151
176#define GP_SE_20 152
177#define GP_SE_21 153
178#define GP_SE_22 154
179#define GP_SE_23 155
180#define GP_SE_24 156
181#define GP_SE_25 157
182#define GP_SE_26 158
183#define GP_SE_30 159
184#define GP_SE_31 160
185#define GP_SE_32 161
186#define GP_SE_33 162
187#define GP_SE_34 163
188#define GP_SE_35 164
189#define GP_SE_45 165
190#define GP_SE_46 166
191#define GP_SE_47 167
192#define GP_SE_48 168
193#define GP_SE_49 169
194#define GP_SE_50 170
195#define GP_SE_51 171
196#define GP_SE_52 172
197#define GP_SE_60 173
198#define GP_SE_61 174
199#define GP_SE_62 175
200#define GP_SE_63 176
201#define GP_SE_64 177
202#define GP_SE_65 178
203#define GP_SE_66 179
204#define GP_SE_67 180
205#define GP_SE_68 181
206#define GP_SE_69 182
207#define GP_SE_75 183
208#define GP_SE_76 184
209#define GP_SE_77 185
210#define GP_SE_78 186
211#define GP_SE_79 187
212#define GP_SE_80 188
213#define GP_SE_81 189
214#define GP_SE_82 190
215#define GP_SE_83 191
216#define GP_SE_84 192
217#define GP_SE_85 193
218
219#endif /* _SOC_GPIO_DEFS_H_ */