1
|
/* OpenPICC pin assignment array for dynamic run-time configuration for different board layouts
|
2
|
* (C) 2008 Henryk Plötz <henryk@ploetzli.ch>
|
3
|
*
|
4
|
* This program is free software; you can redistribute it and/or modify
|
5
|
* it under the terms of the GNU General Public License as published by
|
6
|
* the Free Software Foundation; either version 2 of the License, or
|
7
|
* (at your option) any later version.
|
8
|
*
|
9
|
* This program is distributed in the hope that it will be useful,
|
10
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
* GNU General Public License for more details.
|
13
|
*
|
14
|
* You should have received a copy of the GNU General Public License
|
15
|
* along with this program; if not, write to the Free Software
|
16
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
17
|
*
|
18
|
*/
|
19
|
|
20
|
#include "board.h"
|
21
|
#include "lib_AT91SAM7.h"
|
22
|
|
23
|
const struct openpicc_hardware OPENPICC_HARDWARE[] = {
|
24
|
[OPENPICC_v0_4] = {OPENPICC_v0_4,
|
25
|
"OpenPICC v0.4", // release name
|
26
|
{0, 0, 0,}, // features: data_gating, clock_gating, clock_switching
|
27
|
CLOCK_SELECT_PLL, // default_clock
|
28
|
AT91C_PIO_PA4, // PLL_LOCK
|
29
|
-1, // CLOCK_GATE
|
30
|
-1, // DATA_GATE
|
31
|
-1, // CLOCK_SWITCH
|
32
|
},
|
33
|
[OPENPICC_v0_4_p1] = {OPENPICC_v0_4_p1,
|
34
|
"OpenPICC v0.4 patchlevel 1",
|
35
|
{1, 1, 0,},
|
36
|
CLOCK_SELECT_PLL,
|
37
|
AT91C_PIO_PA5,
|
38
|
AT91C_PIO_PA4,
|
39
|
AT91C_PIO_PA31,
|
40
|
-1,
|
41
|
},
|
42
|
[OPENPICC_v0_4_p2] = {OPENPICC_v0_4_p2,
|
43
|
"OpenPICC v0.4 patchlevel 2",
|
44
|
{1, 1, 1,},
|
45
|
CLOCK_SELECT_CARRIER,
|
46
|
AT91C_PIO_PA5,
|
47
|
AT91C_PIO_PA4,
|
48
|
AT91C_PIO_PA31,
|
49
|
AT91C_PIO_PA30,
|
50
|
},
|
51
|
[OPENPICC_v0_4_karsten] = {OPENPICC_v0_4_karsten,
|
52
|
"OpenPICC v0.4 (Karsten's edition)",
|
53
|
{1, 1, 0,},
|
54
|
CLOCK_SELECT_CARRIER,
|
55
|
AT91C_PIO_PA5,
|
56
|
AT91C_PIO_PA4,
|
57
|
AT91C_PIO_PA31,
|
58
|
-1,
|
59
|
},
|
60
|
};
|
61
|
|
62
|
const struct openpicc_hardware *OPENPICC;
|