summaryrefslogtreecommitdiff
path: root/recipes-support/libsoc/libsoc/0001-libsoc-use-sane-board-naming.patch
blob: 647b64b18ffbecac30c619f81cd746edfa8fb35d (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
From 78220a93d091d18c9b1c77beb82a220202b4e48e Mon Sep 17 00:00:00 2001
Message-Id: <78220a93d091d18c9b1c77beb82a220202b4e48e.1536887613.git.marcel.ziswiler@toradex.com>
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Date: Fri, 14 Sep 2018 03:09:16 +0200
Subject: [PATCH] libsoc: use sane board naming

Use board naming as per our OpenEmbedded machine naming. The Wi-Fi SKU
of our Colibri iMX6ULL may need run-time aka postinst handling.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
---
 contrib/board_files/colibri-imx6ullwb.conf         |  95 ------
 ...olibri-imx7-1GB.conf => colibri-imx7-emmc.conf} |   4 +-
 .../{colibri-imx7-512mb.conf => colibri-imx7.conf} |   4 +-
 .../{colibri-vf61.conf => colibri-vf.conf}         |   7 +-
 contrib/board_files/colibri-vf50.conf              | 355 ---------------------
 5 files changed, 8 insertions(+), 457 deletions(-)
 delete mode 100644 contrib/board_files/colibri-imx6ullwb.conf
 rename contrib/board_files/{colibri-imx7-1GB.conf => colibri-imx7-emmc.conf} (94%)
 rename contrib/board_files/{colibri-imx7-512mb.conf => colibri-imx7.conf} (94%)
 rename contrib/board_files/{colibri-vf61.conf => colibri-vf.conf} (95%)
 delete mode 100644 contrib/board_files/colibri-vf50.conf

diff --git a/contrib/board_files/colibri-imx6ullwb.conf b/contrib/board_files/colibri-imx6ullwb.conf
deleted file mode 100644
index ed30cbf..0000000
--- a/contrib/board_files/colibri-imx6ullwb.conf
+++ /dev/null
@@ -1,95 +0,0 @@
-# Toradex Colibri iMX6ULLWB Computer On Module.
-# http://developer.toradex.com/products/colibri-imx6ullwb
-
-[board]
-dtfile = /proc/device-tree/model
-model = Toradex Colibri iMX6ULLWB on Colibri Evaluation Board
-
-[GPIO]
-###Colibri IMX6ULLWB SODIMM number to GPIO number mapping
-
-SODIMM_2 = 9
-SODIMM_4 = 8
-SODIMM_6 = 1
-SODIMM_8 = 0
-SODIMM_19 = 4
-SODIMM_21 = 5
-SODIMM_23 = 12
-SODIMM_25 = 18
-SODIMM_27 = 19
-SODIMM_28 = 112
-SODIMM_29 = 87
-SODIMM_30 = 37
-SODIMM_31 = 13
-SODIMM_32 = 22
-SODIMM_33 = 16
-SODIMM_34 = 23
-SODIMM_35 = 17
-SODIMM_36 = 20
-SODIMM_37 = 88
-SODIMM_38 = 21
-SODIMM_43 = 128
-SODIMM_44 = 65
-SODIMM_45 = 129
-SODIMM_46 = 76
-SODIMM_47 = 49
-SODIMM_48 = 78
-SODIMM_49 = 51
-SODIMM_50 = 80
-SODIMM_51 = 52
-SODIMM_52 = 81
-SODIMM_53 = 53
-SODIMM_54 = 82
-SODIMM_55 = 32
-SODIMM_56 = 64
-SODIMM_57 = 85
-SODIMM_58 = 72
-SODIMM_59 = 107
-SODIMM_60 = 71
-SODIMM_61 = 86
-SODIMM_62 = 77
-SODIMM_63 = 33
-SODIMM_64 = 84
-SODIMM_65 = 124
-SODIMM_66 = 83
-SODIMM_67 = 38
-SODIMM_68 = 66
-SODIMM_69 = 121
-SODIMM_70 = 70
-SODIMM_71 = 11
-SODIMM_72 = 74
-SODIMM_73 = 36
-SODIMM_74 = 79
-SODIMM_75 = 113
-SODIMM_76 = 69
-SODIMM_77 = 25
-SODIMM_78 = 73
-SODIMM_80 = 75
-SODIMM_82 = 67
-SODIMM_85 = 123
-SODIMM_86 = 90
-SODIMM_88 = 89
-SODIMM_90 = 92
-SODIMM_92 = 91
-SODIMM_95 = 131
-SODIMM_96 = 114
-SODIMM_98 = 122
-SODIMM_99 = 14
-SODIMM_100 = 26
-SODIMM_102 = 15
-SODIMM_104 = 39
-SODIMM_105 = 138
-SODIMM_106 = 10
-SODIMM_107 = 132
-SODIMM_129 = 2
-SODIMM_131 = 133
-SODIMM_133 = 110
-SODIMM_135 = 24
-SODIMM_137 = 130
-SODIMM_178 = 34
-SODIMM_186 = 27
-SODIMM_188 = 35
-SODIMM_190 = 48
-SODIMM_192 = 50
-SODIMM_194 = 29
-SODIMM_196 = 28
diff --git a/contrib/board_files/colibri-imx7-1GB.conf b/contrib/board_files/colibri-imx7-emmc.conf
similarity index 94%
rename from contrib/board_files/colibri-imx7-1GB.conf
rename to contrib/board_files/colibri-imx7-emmc.conf
index e9b172a..bf891af 100644
--- a/contrib/board_files/colibri-imx7-1GB.conf
+++ b/contrib/board_files/colibri-imx7-emmc.conf
@@ -3,10 +3,10 @@
 
 [board]
 dtfile = /proc/device-tree/model
-model = Toradex Colibri iMX7 on Colibri Evaluation Board
+model = Toradex Colibri iMX7 1GB (eMMC) on Colibri Evaluation Board
 
 [GPIO]
-###Colibri IMX7 SODIMM number to GPIO number mapping
+###Colibri IMX7 1GB (eMMC) SODIMM number to GPIO number mapping
 
 SODIMM_19 = 101
 SODIMM_21 = 100
diff --git a/contrib/board_files/colibri-imx7-512mb.conf b/contrib/board_files/colibri-imx7.conf
similarity index 94%
rename from contrib/board_files/colibri-imx7-512mb.conf
rename to contrib/board_files/colibri-imx7.conf
index aaac582..d3b4257 100644
--- a/contrib/board_files/colibri-imx7-512mb.conf
+++ b/contrib/board_files/colibri-imx7.conf
@@ -3,10 +3,10 @@
 
 [board]
 dtfile = /proc/device-tree/model
-model = Toradex Colibri iMX7 on Colibri Evaluation Board
+model = Toradex Colibri iMX7 512MB on Colibri Evaluation Board
 
 [GPIO]
-###Colibri IMX7 SODIMM number to GPIO number mapping
+###Colibri IMX7 512MB SODIMM number to GPIO number mapping
 
 SODIMM_19 = 101
 SODIMM_21 = 100
diff --git a/contrib/board_files/colibri-vf61.conf b/contrib/board_files/colibri-vf.conf
similarity index 95%
rename from contrib/board_files/colibri-vf61.conf
rename to contrib/board_files/colibri-vf.conf
index 2292ade..bac6364 100644
--- a/contrib/board_files/colibri-vf61.conf
+++ b/contrib/board_files/colibri-vf.conf
@@ -1,12 +1,13 @@
-# Toradex Colibri VF61 Computer On Module.
+# Toradex Colibri VF50/VF61 Computer On Module.
+# http://developer.toradex.com/products/colibri-vf50
 # http://developer.toradex.com/products/colibri-vf61
 
 [board]
 dtfile = /proc/device-tree/model
-model = Toradex Colibri VF61 on Colibri Evaluation Board
+model = Toradex Colibri VF50/VF61 on Colibri Evaluation Board
 
 [GPIO]
-### Colibri VF61 SODIMM number to GPIO number mapping
+### Colibri VF50/VF61 SODIMM number to GPIO number mapping
 
 SODIMM_19 = 27
 SODIMM_21 = 26
diff --git a/contrib/board_files/colibri-vf50.conf b/contrib/board_files/colibri-vf50.conf
deleted file mode 100644
index 3f73753..0000000
--- a/contrib/board_files/colibri-vf50.conf
+++ /dev/null
@@ -1,355 +0,0 @@
-# Toradex Colibri VF50 Computer On Module.
-# http://developer.toradex.com/products/colibri-vf50
-
-[board]
-dtfile = /proc/device-tree/model
-model = Toradex Colibri VF50 on Colibri Evaluation Board
-
-[GPIO]
-### Colibri VF50 SODIMM number to GPIO number mapping
-
-SODIMM_19 = 27
-SODIMM_21 = 26
-SODIMM_22 = 104
-SODIMM_23 = 10
-SODIMM_24 = 25
-SODIMM_25 = 35
-SODIMM_27 = 34
-SODIMM_28 = 30
-SODIMM_29 = 21
-SODIMM_30 = 23
-SODIMM_31 = 11
-SODIMM_32 = 82
-SODIMM_33 = 33
-SODIMM_34 = 81
-SODIMM_35 = 32
-SODIMM_36 = 80
-SODIMM_37 = 20
-SODIMM_38 = 79
-SODIMM_43 = 42
-SODIMM_44 = 109
-SODIMM_45 = 41
-SODIMM_46 = 121
-SODIMM_47 = 14
-SODIMM_48 = 123
-SODIMM_49 = 17
-SODIMM_50 = 125
-SODIMM_51 = 18
-SODIMM_52 = 112
-SODIMM_53 = 19
-SODIMM_54 = 113
-SODIMM_55 = 39
-SODIMM_56 = 107
-SODIMM_57 = 116
-SODIMM_58 = 131
-SODIMM_59 = 22
-SODIMM_59# = 52
-SODIMM_60 = 130
-SODIMM_61 = 117
-SODIMM_62 = 122
-SODIMM_63 = 38
-SODIMM_64 = 115
-SODIMM_65 = 40
-SODIMM_66 = 114
-SODIMM_67 = 31
-SODIMM_67# = 51
-SODIMM_68 = 105
-SODIMM_69 = 64
-SODIMM_70 = 129
-SODIMM_71 = 45
-SODIMM_72 = 133
-SODIMM_73 = 43
-SODIMM_74 = 124
-SODIMM_75 = 91
-SODIMM_76 = 128
-SODIMM_77 = 44
-SODIMM_78 = 132
-SODIMM_79 = 49
-SODIMM_80 = 120
-SODIMM_81 = 29
-SODIMM_82 = 106
-SODIMM_85 = 53
-SODIMM_86 = 84
-SODIMM_88 = 87
-SODIMM_89 = 2
-SODIMM_90 = 85
-SODIMM_92 = 86
-SODIMM_93 = 98
-SODIMM_94 = 28
-SODIMM_95 = 103
-SODIMM_96 = 134
-SODIMM_97 = 50
-SODIMM_98 = 46
-SODIMM_99 = 65
-SODIMM_100 = 92
-SODIMM_101 = 47
-SODIMM_102 = 93
-SODIMM_103 = 48
-SODIMM_104 = 66
-SODIMM_105 = 96
-SODIMM_106 = 63
-SODIMM_107 = 67
-SODIMM_127 = 68
-SODIMM_129 = 83
-SODIMM_131 = 108
-SODIMM_133 = 88
-SODIMM_134 = 7
-SODIMM_135 = 89
-SODIMM_136 = 126
-SODIMM_137 = 102
-SODIMM_138 = 127
-SODIMM_140 = 118
-SODIMM_142 = 119
-SODIMM_144 = 110
-SODIMM_146 = 111
-SODIMM_184 = 69
-SODIMM_186 = 70
-SODIMM_188 = 90
-SODIMM_190 = 15
-SODIMM_192 = 16
-SODIMM_194 = 37
-SODIMM_196 = 36
-
-### Colibri Evaluation Board location to GPIO mapping
-
-# (X9)
-X9_12 = 25
-X9_11 = 104
-X9_13 = 109
-X9_4 = 41
-X9_28 = 112
-X9_27 = 125
-X9_25 = 123
-X9_23 = 121
-X9_30 = 113
-X9_5 = 39
-X9_42 = 107
-X9_33 = 116
-X9_18 = 131
-X9_17 = 130
-X9_34 = 117
-X9_24 = 122
-X9_6 = 38
-X9_32 = 115
-X9_31 = 114
-X9_44 = 105
-X9_16 = 129
-X9_46 = 45
-X9_20 = 133
-X9_26 = 124
-X9_14 = 128
-X9_19 = 132
-X9_21 = 120
-X9_45 = 106
-X9_7 = 92
-X9_9 = 93
-X9_35 = 126
-X9_37 = 127
-X9_38 = 118
-X9_39 = 119
-X9_47 = 37
-X9_48 = 36
-X9_41 = 111
-X9_10 = 66
-X9_40 = 110
-
-# (X10)
-X10_2 = 27
-X10_3 = 26
-X10_4 = 10
-X10_5 = 35
-X10_6 = 34
-X10_27 = 30
-X10_7 = 21
-X10_28 = 23
-X10_9 = 11
-X10_30 = 82
-X10_19 = 33
-X10_14 = 81
-X10_11 = 32
-X10_16 = 80
-X10_12 = 20
-X10_17 = 79
-X10_18 = 42
-X10_19 = 14
-X10_23 = 17
-X10_24 = 18
-X10_25 = 19
-X10_26 = 22
-X10_26# = 52
-X10_30 = 31
-X10_30# = 51
-X10_31 = 43
-X10_32 = 84
-x10_33 = 87
-X10_34 = 85
-X10_35 = 86
-X10_37 = 96
-X10_42 = 68
-X10_38 = 67
-X10_47 = 83
-X10_48 = 108
-X10_41 = 88
-X10_39 = 63
-X10_40 = 89
-X10_49 = 102
-X10_20 = 15
-X10_21 = 16
-
-# (X22)
-X22_14 = 40
-X22_21 = 64
-X22_3 = 91
-X22_22 = 44
-X22_9 = 49
-X22_6 = 29
-X22_13 = 53
-X22_5 = 28
-X22_4 = 134
-X22_10 = 50
-X22_18 = 46
-X22_7 = 47
-X22_8 = 48
-
-# EX A
-EX_A_26 = 2
-EX_A_28 = 98
-EX_A_31 = 65
-EX_A_27 = 96
-EX_A_32 = 88
-EX_A_23 = 126
-EX_A_22 = 127
-EX_A_22 = 118
-EX_A_21 = 111
-EX_A_20 = 90
-
-# EX B
-EX_B_28 = 103
-EX_B_26 = 67
-EX_B_23 = 7
-EX_B_21 = 110
-EX_B_20 = 70
-
-# EX C
-EX_C_27 = 63
-EX_C_32 = 68
-EX_C_31 = 89
-EX_C_21 = 119
-EX_C_20 = 69
-
-### Colibri Aster Carrier Board location to GPIO mapping
-
-# Extension Connector (X20)
-# This extension connector pinout is compatible with header pins available on
-# the Raspberry Pi, Type B+ board.
-# NOTE: Some of these functions might change depending on the Colibri module that is used.
-X20_32 = 30
-# Via R127
-x20_27 = 21
-X20_33 = 23
-X20_36 = 82
-X20_11 = 81
-X20_10 = 80
-# Via R128
-X20_28 = 20
-X20_8 = 79
-# Via R120
-X20_12 = 22
-X20_24 = 40
-# Via R122
-X20_35 = 31
-# Via R124
-X20_40 = 64
-X20_15 = 45
-X20_38 = 91
-X20_37 = 49
-X20_31 = 29
-x20_26 = 84
-X20_23 = 87
-X20_21 = 85
-X20_19 = 86
-X20_29 = 28
-X20_7 = 134
-X20_13 = 50
-X20_16 = 46
-# Via R125
-X20_40 = 92
-X20_22 = 47
-X20_18 = 48
-# Via R121
-X20_12 = 89
-# Via R123
-X20_35 = 90
-X20_3 = 37
-# Via R126
-#X20_12 = 37
-X20_5 = 36
-# Via R129
-#X20_28 = 36
-
-# Arduino Shield header: Digital I/OPins (X17)
-UNO_GPIO1 = 41
-UNO_GPIO2 = 31
-UNO_GPIO2# = 51
-UNO_GPIO3 = 88
-UNO_GPIO4 = 30
-UNO_GPIO5 = 23
-UNO_GPIO6 = 39
-UNO_GPIO7 = 38
-UNO_GPIO8 = 22
-UNO_GPIO8# = 52
-UNO_SPI_MOSI = 86
-UNO_SPI_MISO = 85
-UNO_SPI_SCK = 87
-UNO_I2C_SDA = 37
-UNO_I2C_SCL = 36
-
-### Colibri Iris Carrier Board location to GPIO mapping
-
-# Extension Connctor (X16)
-X16_5 = 37
-X16_6 = 36
-X16_8 = 87
-X16_9 = 84
-X16_10 = 85
-X16_11 = 86
-X16_13 = 46
-X16_14 = 88
-X16_15 = 48
-X16_16 = 47
-X16_17 = 50
-X16_18 = 53
-X16_19 = 49
-X16_20 = 41
-X16_37 = 22
-X16_37# = 52
-X16_38 = 30
-X16_39 = 23
-X16_40 = 31
-X16_40# = 51
-
-### Colibri Viola Carrier Board location to GPIO mapping
-
-# Extension Connector (X9)
-X9_42 = 30
-X9_16 = 41
-X9_17 = 39
-X9_41 = 22
-X9_18 = 38
-X9_44 = 31
-X9_44# = 51
-X9_15 = 49
-X9_14 = 53
-X9_13 = 50
-X9_9 = 46
-X9_12 = 47
-X9_11 = 48
-X9_10 = 88
-X9_8 = 89
-
-# (X10)
-X10_8 = 29
-X10_9 = 28
-X10_10 = 134
-X10_11 = 40
-X10_12 = 91
-- 
2.14.4