Go to the documentation of this file.
15 #define CPU_NAME "COLDFIRE(m5272)"
16 #define CPU_INSTR_PER_JIFFY 3
17 #define MCF_BUSCLK MCF_CLK
24 #define MCFSIM_SCR (MCF_MBAR + 0x04)
25 #define MCFSIM_SPR (MCF_MBAR + 0x06)
26 #define MCFSIM_PMR (MCF_MBAR + 0x08)
27 #define MCFSIM_APMR (MCF_MBAR + 0x0e)
28 #define MCFSIM_DIR (MCF_MBAR + 0x10)
30 #define MCFSIM_ICR1 (MCF_MBAR + 0x20)
31 #define MCFSIM_ICR2 (MCF_MBAR + 0x24)
32 #define MCFSIM_ICR3 (MCF_MBAR + 0x28)
33 #define MCFSIM_ICR4 (MCF_MBAR + 0x2c)
35 #define MCFSIM_ISR (MCF_MBAR + 0x30)
36 #define MCFSIM_PITR (MCF_MBAR + 0x34)
37 #define MCFSIM_PIWR (MCF_MBAR + 0x38)
38 #define MCFSIM_PIVR (MCF_MBAR + 0x3f)
40 #define MCFSIM_WRRR (MCF_MBAR + 0x280)
41 #define MCFSIM_WIRR (MCF_MBAR + 0x284)
42 #define MCFSIM_WCR (MCF_MBAR + 0x288)
43 #define MCFSIM_WER (MCF_MBAR + 0x28c)
45 #define MCFSIM_CSBR0 (MCF_MBAR + 0x40)
46 #define MCFSIM_CSOR0 (MCF_MBAR + 0x44)
47 #define MCFSIM_CSBR1 (MCF_MBAR + 0x48)
48 #define MCFSIM_CSOR1 (MCF_MBAR + 0x4c)
49 #define MCFSIM_CSBR2 (MCF_MBAR + 0x50)
50 #define MCFSIM_CSOR2 (MCF_MBAR + 0x54)
51 #define MCFSIM_CSBR3 (MCF_MBAR + 0x58)
52 #define MCFSIM_CSOR3 (MCF_MBAR + 0x5c)
53 #define MCFSIM_CSBR4 (MCF_MBAR + 0x60)
54 #define MCFSIM_CSOR4 (MCF_MBAR + 0x64)
55 #define MCFSIM_CSBR5 (MCF_MBAR + 0x68)
56 #define MCFSIM_CSOR5 (MCF_MBAR + 0x6c)
57 #define MCFSIM_CSBR6 (MCF_MBAR + 0x70)
58 #define MCFSIM_CSOR6 (MCF_MBAR + 0x74)
59 #define MCFSIM_CSBR7 (MCF_MBAR + 0x78)
60 #define MCFSIM_CSOR7 (MCF_MBAR + 0x7c)
62 #define MCFSIM_SDCR (MCF_MBAR + 0x180)
63 #define MCFSIM_SDTR (MCF_MBAR + 0x184)
64 #define MCFSIM_DCAR0 (MCF_MBAR + 0x4c)
65 #define MCFSIM_DCMR0 (MCF_MBAR + 0x50)
66 #define MCFSIM_DCCR0 (MCF_MBAR + 0x57)
67 #define MCFSIM_DCAR1 (MCF_MBAR + 0x58)
68 #define MCFSIM_DCMR1 (MCF_MBAR + 0x5c)
69 #define MCFSIM_DCCR1 (MCF_MBAR + 0x63)
71 #define MCFUART_BASE0 (MCF_MBAR + 0x100)
72 #define MCFUART_BASE1 (MCF_MBAR + 0x140)
74 #define MCFSIM_PACNT (MCF_MBAR + 0x80)
75 #define MCFSIM_PADDR (MCF_MBAR + 0x84)
76 #define MCFSIM_PADAT (MCF_MBAR + 0x86)
77 #define MCFSIM_PBCNT (MCF_MBAR + 0x88)
78 #define MCFSIM_PBDDR (MCF_MBAR + 0x8c)
79 #define MCFSIM_PBDAT (MCF_MBAR + 0x8e)
80 #define MCFSIM_PCDDR (MCF_MBAR + 0x94)
81 #define MCFSIM_PCDAT (MCF_MBAR + 0x96)
82 #define MCFSIM_PDCNT (MCF_MBAR + 0x98)
84 #define MCFDMA_BASE0 (MCF_MBAR + 0xe0)
86 #define MCFTIMER_BASE1 (MCF_MBAR + 0x200)
87 #define MCFTIMER_BASE2 (MCF_MBAR + 0x220)
88 #define MCFTIMER_BASE3 (MCF_MBAR + 0x240)
89 #define MCFTIMER_BASE4 (MCF_MBAR + 0x260)
91 #define MCFFEC_BASE0 (MCF_MBAR + 0x840)
92 #define MCFFEC_SIZE0 0x1d0
97 #define MCFINT_VECBASE 64
98 #define MCF_IRQ_SPURIOUS 64
99 #define MCF_IRQ_EINT1 65
100 #define MCF_IRQ_EINT2 66
101 #define MCF_IRQ_EINT3 67
102 #define MCF_IRQ_EINT4 68
103 #define MCF_IRQ_TIMER1 69
104 #define MCF_IRQ_TIMER2 70
105 #define MCF_IRQ_TIMER3 71
106 #define MCF_IRQ_TIMER4 72
107 #define MCF_IRQ_UART0 73
108 #define MCF_IRQ_UART1 74
109 #define MCF_IRQ_PLIP 75
110 #define MCF_IRQ_PLIA 76
111 #define MCF_IRQ_USB0 77
112 #define MCF_IRQ_USB1 78
113 #define MCF_IRQ_USB2 79
114 #define MCF_IRQ_USB3 80
115 #define MCF_IRQ_USB4 81
116 #define MCF_IRQ_USB5 82
117 #define MCF_IRQ_USB6 83
118 #define MCF_IRQ_USB7 84
119 #define MCF_IRQ_DMA 85
120 #define MCF_IRQ_FECRX0 86
121 #define MCF_IRQ_FECTX0 87
122 #define MCF_IRQ_FECENTC0 88
123 #define MCF_IRQ_QSPI 89
124 #define MCF_IRQ_EINT5 90
125 #define MCF_IRQ_EINT6 91
126 #define MCF_IRQ_SWTO 92
127 #define MCFINT_VECMAX 95
129 #define MCF_IRQ_TIMER MCF_IRQ_TIMER1
130 #define MCF_IRQ_PROFILER MCF_IRQ_TIMER2
135 #define MCFGPIO_PIN_MAX 48
136 #define MCFGPIO_IRQ_MAX -1
137 #define MCFGPIO_IRQ_VECBASE -1