projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
[oweals/u-boot.git]
/
include
/
asm-blackfin
/
mach-bf537
/
ports.h
1
/*
2
* Port Masks
3
*/
4
5
#ifndef __BFIN_PERIPHERAL_PORT__
6
#define __BFIN_PERIPHERAL_PORT__
7
8
/* PORT_MUX Masks */
9
#define PJSE 0x0001
10
#define PJCE_MASK 0x0006
11
#define PJCE_SPORT 0x0000
12
#define PJCE_CAN 0x0001
13
#define PJCE_SPI 0x0002
14
#define PFDE 0x0008
15
#define PFTE 0x0010
16
#define PFS6E 0x0020
17
#define PFS5E 0x0040
18
#define PFS4E 0x0080
19
#define PFFE 0x0100
20
#define PGSE 0x0200
21
#define PGRE 0x0400
22
#define PGTE 0x0800
23
24
/* Port F Masks */
25
#define PF0 0x0001
26
#define PF1 0x0002
27
#define PF2 0x0004
28
#define PF3 0x0008
29
#define PF4 0x0010
30
#define PF5 0x0020
31
#define PF6 0x0040
32
#define PF7 0x0080
33
#define PF8 0x0100
34
#define PF9 0x0200
35
#define PF10 0x0400
36
#define PF11 0x0800
37
#define PF12 0x1000
38
#define PF13 0x2000
39
#define PF14 0x4000
40
#define PF15 0x8000
41
42
/* Port G Masks */
43
#define PG0 0x0001
44
#define PG1 0x0002
45
#define PG2 0x0004
46
#define PG3 0x0008
47
#define PG4 0x0010
48
#define PG5 0x0020
49
#define PG6 0x0040
50
#define PG7 0x0080
51
#define PG8 0x0100
52
#define PG9 0x0200
53
#define PG10 0x0400
54
#define PG11 0x0800
55
#define PG12 0x1000
56
#define PG13 0x2000
57
#define PG14 0x4000
58
#define PG15 0x8000
59
60
/* Port H Masks */
61
#define PH0 0x0001
62
#define PH1 0x0002
63
#define PH2 0x0004
64
#define PH3 0x0008
65
#define PH4 0x0010
66
#define PH5 0x0020
67
#define PH6 0x0040
68
#define PH7 0x0080
69
#define PH8 0x0100
70
#define PH9 0x0200
71
#define PH10 0x0400
72
#define PH11 0x0800
73
#define PH12 0x1000
74
#define PH13 0x2000
75
#define PH14 0x4000
76
#define PH15 0x8000
77
78
#endif