Go to the documentation of this file.
8 #define CPU_NAME "COLDFIRE(m54xx)"
9 #define CPU_INSTR_PER_JIFFY 2
10 #define MCF_BUSCLK (MCF_CLK / 2)
14 #define MCFINT_VECBASE 64
19 #define MCFICM_INTC0 (MCF_MBAR + 0x700)
21 #define MCFINTC_IPRH 0x00
22 #define MCFINTC_IPRL 0x04
23 #define MCFINTC_IMRH 0x08
24 #define MCFINTC_IMRL 0x0c
25 #define MCFINTC_INTFRCH 0x10
26 #define MCFINTC_INTFRCL 0x14
27 #define MCFINTC_IRLR 0x18
28 #define MCFINTC_IACKL 0x19
29 #define MCFINTC_ICR0 0x40
34 #define MCFUART_BASE0 (MCF_MBAR + 0x8600)
35 #define MCFUART_BASE1 (MCF_MBAR + 0x8700)
36 #define MCFUART_BASE2 (MCF_MBAR + 0x8800)
37 #define MCFUART_BASE3 (MCF_MBAR + 0x8900)
42 #define MCF_IRQ_TIMER (MCFINT_VECBASE + 54)
43 #define MCF_IRQ_PROFILER (MCFINT_VECBASE + 53)
44 #define MCF_IRQ_UART0 (MCFINT_VECBASE + 35)
45 #define MCF_IRQ_UART1 (MCFINT_VECBASE + 34)
46 #define MCF_IRQ_UART2 (MCFINT_VECBASE + 33)
47 #define MCF_IRQ_UART3 (MCFINT_VECBASE + 32)
52 #define MCFSLT_TIMER0 (MCF_MBAR + 0x900)
53 #define MCFSLT_TIMER1 (MCF_MBAR + 0x910)
58 #define MCFGPIO_PIN_MAX 0
59 #define MCFGPIO_IRQ_MAX -1
60 #define MCFGPIO_IRQ_VECBASE -1
65 #define MCFEPORT_EPPAR (MCF_MBAR + 0xf00)
66 #define MCFEPORT_EPDDR (MCF_MBAR + 0xf04)
67 #define MCFEPORT_EPIER (MCF_MBAR + 0xf05)
68 #define MCFEPORT_EPDR (MCF_MBAR + 0xf08)
69 #define MCFEPORT_EPPDR (MCF_MBAR + 0xf09)
70 #define MCFEPORT_EPFR (MCF_MBAR + 0xf0c)
75 #define MCFGPIO_PAR_FBCTL (MCF_MBAR + 0xA40)
76 #define MCFGPIO_PAR_FBCS (MCF_MBAR + 0xA42)
77 #define MCFGPIO_PAR_DMA (MCF_MBAR + 0xA43)
78 #define MCFGPIO_PAR_FECI2CIRQ (MCF_MBAR + 0xA44)
79 #define MCFGPIO_PAR_PCIBG (MCF_MBAR + 0xA48)
80 #define MCFGPIO_PAR_PCIBR (MCF_MBAR + 0xA4A)
81 #define MCFGPIO_PAR_PSC0 (MCF_MBAR + 0xA4F)
82 #define MCFGPIO_PAR_PSC1 (MCF_MBAR + 0xA4E)
83 #define MCFGPIO_PAR_PSC2 (MCF_MBAR + 0xA4D)
84 #define MCFGPIO_PAR_PSC3 (MCF_MBAR + 0xA4C)
85 #define MCFGPIO_PAR_DSPI (MCF_MBAR + 0xA50)
86 #define MCFGPIO_PAR_TIMER (MCF_MBAR + 0xA52)
88 #define MCF_PAR_SDA (0x0008)
89 #define MCF_PAR_SCL (0x0004)
90 #define MCF_PAR_PSC_TXD (0x04)
91 #define MCF_PAR_PSC_RXD (0x08)
92 #define MCF_PAR_PSC_CTS_GPIO (0x00)
93 #define MCF_PAR_PSC_CTS_BCLK (0x80)
94 #define MCF_PAR_PSC_CTS_CTS (0xC0)
95 #define MCF_PAR_PSC_RTS_GPIO (0x00)
96 #define MCF_PAR_PSC_RTS_FSYNC (0x20)
97 #define MCF_PAR_PSC_RTS_RTS (0x30)
98 #define MCF_PAR_PSC_CANRX (0x40)