10 #ifndef __IMMAP_CPM2__
11 #define __IMMAP_CPM2__
13 #include <linux/types.h>
17 typedef struct sys_82xx_conf {
42 } sysconf_82xx_cpm2_t;
44 typedef struct sys_85xx_conf {
58 } sysconf_85xx_cpm2_t;
60 typedef union sys_conf {
61 sysconf_82xx_cpm2_t siu_82xx;
62 sysconf_85xx_cpm2_t siu_85xx;
69 typedef struct mem_ctlr {
126 typedef struct sys_int_timers {
142 #define PISCR_PIRQ_MASK ((u16)0xff00)
143 #define PISCR_PS ((u16)0x0080)
144 #define PISCR_PIE ((u16)0x0004)
145 #define PISCR_PTF ((u16)0x0002)
146 #define PISCR_PTE ((u16)0x0001)
150 typedef struct pci_ctlr {
282 typedef struct interrupt_controller {
299 typedef struct clk_and_reset {
342 typedef struct cpm_timers {
372 typedef struct sdma_csr {
416 typedef struct fcc_c {
427 typedef struct tclayer {
486 typedef struct spi_ctrl {
499 typedef struct cpmux {
514 typedef struct siram {
537 typedef struct comm_proc {
552 typedef struct cpm_usb_ctlr {
569 typedef struct immap {
573 #define im_dprambase im_dpram1
574 u8 im_dpram1[16*1024];
576 u8 im_dpram2[4*1024];
578 u8 im_dpram3[4*1024];
581 sysconf_cpm2_t im_siu_conf;
582 memctl_cpm2_t im_memctl;
585 intctl_cpm2_t im_intctl;
586 car_cpm2_t im_clkrst;
587 iop_cpm2_t im_ioport;
588 cpmtimer_cpm2_t im_cpmtimer;
597 tclayer_t im_tclayer[8];
623 spictl_cpm2_t im_spi;
625 siramctl_t im_siramctl1;
627 siramctl_t im_siramctl2;
633 u16 im_si1txram[256];
635 u16 im_si1rxram[256];
637 u16 im_si2txram[256];
639 u16 im_si2rxram[256];