Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /****************************************************************************/ |
2 | ||
3 | /* | |
4 | * elia.h -- Lineo (formerly Moreton Bay) eLIA platform support. | |
5 | * | |
6 | * (C) Copyright 1999-2000, Moreton Bay (www.moreton.com.au) | |
7 | * (C) Copyright 1999-2000, Lineo (www.lineo.com) | |
8 | */ | |
9 | ||
10 | /****************************************************************************/ | |
11 | #ifndef elia_h | |
12 | #define elia_h | |
13 | /****************************************************************************/ | |
14 | ||
1da177e4 LT |
15 | #include <asm/coldfire.h> |
16 | ||
17 | #ifdef CONFIG_eLIA | |
18 | ||
19 | /* | |
20 | * The serial port DTR and DCD lines are also on the Parallel I/O | |
21 | * as well, so define those too. | |
22 | */ | |
23 | ||
24 | #define eLIA_DCD1 0x0001 | |
25 | #define eLIA_DCD0 0x0002 | |
26 | #define eLIA_DTR1 0x0004 | |
27 | #define eLIA_DTR0 0x0008 | |
28 | ||
29 | #define eLIA_PCIRESET 0x0020 | |
30 | ||
31 | /* | |
32 | * Kernel macros to set and unset the LEDs. | |
33 | */ | |
34 | #ifndef __ASSEMBLY__ | |
35 | extern unsigned short ppdata; | |
36 | #endif /* __ASSEMBLY__ */ | |
37 | ||
38 | #endif /* CONFIG_eLIA */ | |
39 | ||
40 | /****************************************************************************/ | |
41 | #endif /* elia_h */ |