]> git.sur5r.net Git - u-boot/blobdiff - include/asm-m68k/m5329.h
86xx: XPedite5170 board support
[u-boot] / include / asm-m68k / m5329.h
index 3f056511cb60dcf76f4d3c02b59f7f6b7b0c1ca1..c7ebed1375df59b4fb0cbc1e0d2a53a7788e4de9 100644 (file)
 #define CFATR_MODE                     (0x02)
 #define CFATR_TYPE                     (0x01)
 
-/*********************************************************************
-* FlexBus Chip Selects (FBCS)
-*********************************************************************/
-/* Bit definitions and macros for FBCS_CSAR */
-#define CSAR_BA(x)                     (((x)&0xFFFF)<<16)
-
-/* Bit definitions and macros for FBCS_CSMR */
-#define CSMR_BAM(x)                    (((x)&0xFFFF)<<16)
-#define CSMR_BAM_4G                    (0xFFFF0000)
-#define CSMR_BAM_2G                    (0x7FFF0000)
-#define CSMR_BAM_1G                    (0x3FFF0000)
-#define CSMR_BAM_1024M                 (0x3FFF0000)
-#define CSMR_BAM_512M                  (0x1FFF0000)
-#define CSMR_BAM_256M                  (0x0FFF0000)
-#define CSMR_BAM_128M                  (0x07FF0000)
-#define CSMR_BAM_64M                   (0x03FF0000)
-#define CSMR_BAM_32M                   (0x01FF0000)
-#define CSMR_BAM_16M                   (0x00FF0000)
-#define CSMR_BAM_8M                    (0x007F0000)
-#define CSMR_BAM_4M                    (0x003F0000)
-#define CSMR_BAM_2M                    (0x001F0000)
-#define CSMR_BAM_1M                    (0x000F0000)
-#define CSMR_BAM_1024K                 (0x000F0000)
-#define CSMR_BAM_512K                  (0x00070000)
-#define CSMR_BAM_256K                  (0x00030000)
-#define CSMR_BAM_128K                  (0x00010000)
-#define CSMR_BAM_64K                   (0x00000000)
-#define CSMR_WP                                (0x00000100)
-#define CSMR_V                         (0x00000001)
-
-/* Bit definitions and macros for FBCS_CSCR */
-#define CSCR_SWS(x)                    (((x)&0x3F)<<26)
-#define CSCR_ASET(x)                   (((x)&0x03)<<20)
-#define CSCR_SWSEN                     (0x00800000)
-#define CSCR_ASET_4CLK                 (0x00300000)
-#define CSCR_ASET_3CLK                 (0x00200000)
-#define CSCR_ASET_2CLK                 (0x00100000)
-#define CSCR_ASET_1CLK                 (0x00000000)
-#define CSCR_RDAH(x)                   (((x)&0x03)<<18)
-#define CSCR_RDAH_4CYC                 (0x000C0000)
-#define CSCR_RDAH_3CYC                 (0x00080000)
-#define CSCR_RDAH_2CYC                 (0x00040000)
-#define CSCR_RDAH_1CYC                 (0x00000000)
-#define CSCR_WRAH(x)                   (((x)&0x03)<<16)
-#define CSCR_WDAH_4CYC                 (0x00003000)
-#define CSCR_WDAH_3CYC                 (0x00002000)
-#define CSCR_WDAH_2CYC                 (0x00001000)
-#define CSCR_WDAH_1CYC                 (0x00000000)
-#define CSCR_WS(x)                     (((x)&0x3F)<<10)
-#define CSCR_SBM                       (0x00000200)
-#define CSCR_AA                                (0x00000100)
-#define CSCR_PS_MASK                   (0x000000C0)
-#define CSCR_PS_32                     (0x00000000)
-#define CSCR_PS_16                     (0x00000080)
-#define CSCR_PS_8                      (0x00000040)
-#define CSCR_BEM                       (0x00000020)
-#define CSCR_BSTR                      (0x00000010)
-#define CSCR_BSTW                      (0x00000008)
-
 /*********************************************************************
 * Reset Controller Module (RCM)
 *********************************************************************/
 #define RCM_RSR_POR                    (0x08)
 #define RCM_RSR_SOFT                   (0x20)
 
-/*********************************************************************
-* FlexCAN Module (CAN)
-*********************************************************************/
-/* Bit definitions and macros for CAN_CANMCR */
-#define CANMCR_MDIS                    (0x80000000)
-#define CANMCR_FRZ                     (0x40000000)
-#define CANMCR_HALT                    (0x10000000)
-#define CANMCR_NORDY                   (0x08000000)
-#define CANMCR_SOFTRST                 (0x02000000)
-#define CANMCR_FRZACK                  (0x01000000)
-#define CANMCR_SUPV                    (0x00800000)
-#define CANMCR_LPMACK                  (0x00100000)
-#define CANMCR_MAXMB(x)                        (((x)&0x0F))
-
-/* Bit definitions and macros for CAN_CANCTRL */
-#define CANCTRL_PRESDIV(x)             (((x)&0xFF)<<24)
-#define CANCTRL_RJW(x)                 (((x)&0x03)<<22)
-#define CANCTRL_PSEG1(x)               (((x)&0x07)<<19)
-#define CANCTRL_PSEG2(x)               (((x)&0x07)<<16)
-#define CANCTRL_BOFFMSK                        (0x00008000)
-#define CANCTRL_ERRMSK                 (0x00004000)
-#define CANCTRL_CLKSRC                 (0x00002000)
-#define CANCTRL_LPB                    (0x00001000)
-#define CANCTRL_SMP                    (0x00000080)
-#define CANCTRL_BOFFREC                        (0x00000040)
-#define CANCTRL_TSYNC                  (0x00000020)
-#define CANCTRL_LBUF                   (0x00000010)
-#define CANCTRL_LOM                    (0x00000008)
-#define CANCTRL_PROPSEG(x)             (((x)&0x07))
-
-/* Bit definitions and macros for CAN_TIMER */
-#define TIMER_TIMER(x)                 ((x)&0xFFFF)
-
-/* Bit definitions and macros for CAN_RXGMASK */
-#define RXGMASK_MI(x)                  ((x)&0x1FFFFFFF)
-
-/* Bit definitions and macros for CAN_ERRCNT */
-#define ERRCNT_TXECTR(x)               (((x)&0xFF))
-#define ERRCNT_RXECTR(x)               (((x)&0xFF)<<8)
-
-/* Bit definitions and macros for CAN_ERRSTAT */
-#define ERRSTAT_BITERR1                        (0x00008000)
-#define ERRSTAT_BITERR0                        (0x00004000)
-#define ERRSTAT_ACKERR                 (0x00002000)
-#define ERRSTAT_CRCERR                 (0x00001000)
-#define ERRSTAT_FRMERR                 (0x00000800)
-#define ERRSTAT_STFERR                 (0x00000400)
-#define ERRSTAT_TXWRN                  (0x00000200)
-#define ERRSTAT_RXWRN                  (0x00000100)
-#define ERRSTAT_IDLE                   (0x00000080)
-#define ERRSTAT_TXRX                   (0x00000040)
-#define ERRSTAT_FLT_BUSOFF             (0x00000020)
-#define ERRSTAT_FLT_PASSIVE            (0x00000010)
-#define ERRSTAT_FLT_ACTIVE             (0x00000000)
-#define ERRSTAT_BOFFINT                        (0x00000004)
-#define ERRSTAT_ERRINT                 (0x00000002)
-#define ERRSTAT_WAKINT                 (0x00000001)
-
-/* Bit definitions and macros for CAN_IMASK */
-#define IMASK_BUF15M                   (0x00008000)
-#define IMASK_BUF14M                   (0x00004000)
-#define IMASK_BUF13M                   (0x00002000)
-#define IMASK_BUF12M                   (0x00001000)
-#define IMASK_BUF11M                   (0x00000800)
-#define IMASK_BUF10M                   (0x00000400)
-#define IMASK_BUF9M                    (0x00000200)
-#define IMASK_BUF8M                    (0x00000100)
-#define IMASK_BUF7M                    (0x00000080)
-#define IMASK_BUF6M                    (0x00000040)
-#define IMASK_BUF5M                    (0x00000020)
-#define IMASK_BUF4M                    (0x00000010)
-#define IMASK_BUF3M                    (0x00000008)
-#define IMASK_BUF2M                    (0x00000004)
-#define IMASK_BUF1M                    (0x00000002)
-#define IMASK_BUF0M                    (0x00000001)
-
-/* Bit definitions and macros for CAN_IFLAG */
-#define IFLAG_BUF15I                   (0x00008000)
-#define IFLAG_BUF14I                   (0x00004000)
-#define IFLAG_BUF13I                   (0x00002000)
-#define IFLAG_BUF12I                   (0x00001000)
-#define IFLAG_BUF11I                   (0x00000800)
-#define IFLAG_BUF10I                   (0x00000400)
-#define IFLAG_BUF9I                    (0x00000200)
-#define IFLAG_BUF8I                    (0x00000100)
-#define IFLAG_BUF7I                    (0x00000080)
-#define IFLAG_BUF6I                    (0x00000040)
-#define IFLAG_BUF5I                    (0x00000020)
-#define IFLAG_BUF4I                    (0x00000010)
-#define IFLAG_BUF3I                    (0x00000008)
-#define IFLAG_BUF2I                    (0x00000004)
-#define IFLAG_BUF1I                    (0x00000002)
-#define IFLAG_BUF0I                    (0x00000001)
-
 /*********************************************************************
 * Interrupt Controller (INTC)
 *********************************************************************/
 /* 49 - 61 Reserved */
 #define INT0_HI_SCM                    (62)
 
-/* Bit definitions and macros for INTC_IPRH */
-#define INTC_IPRH_INT63                        (0x80000000)
-#define INTC_IPRH_INT62                        (0x40000000)
-#define INTC_IPRH_INT61                        (0x20000000)
-#define INTC_IPRH_INT60                        (0x10000000)
-#define INTC_IPRH_INT59                        (0x08000000)
-#define INTC_IPRH_INT58                        (0x04000000)
-#define INTC_IPRH_INT57                        (0x02000000)
-#define INTC_IPRH_INT56                        (0x01000000)
-#define INTC_IPRH_INT55                        (0x00800000)
-#define INTC_IPRH_INT54                        (0x00400000)
-#define INTC_IPRH_INT53                        (0x00200000)
-#define INTC_IPRH_INT52                        (0x00100000)
-#define INTC_IPRH_INT51                        (0x00080000)
-#define INTC_IPRH_INT50                        (0x00040000)
-#define INTC_IPRH_INT49                        (0x00020000)
-#define INTC_IPRH_INT48                        (0x00010000)
-#define INTC_IPRH_INT47                        (0x00008000)
-#define INTC_IPRH_INT46                        (0x00004000)
-#define INTC_IPRH_INT45                        (0x00002000)
-#define INTC_IPRH_INT44                        (0x00001000)
-#define INTC_IPRH_INT43                        (0x00000800)
-#define INTC_IPRH_INT42                        (0x00000400)
-#define INTC_IPRH_INT41                        (0x00000200)
-#define INTC_IPRH_INT40                        (0x00000100)
-#define INTC_IPRH_INT39                        (0x00000080)
-#define INTC_IPRH_INT38                        (0x00000040)
-#define INTC_IPRH_INT37                        (0x00000020)
-#define INTC_IPRH_INT36                        (0x00000010)
-#define INTC_IPRH_INT35                        (0x00000008)
-#define INTC_IPRH_INT34                        (0x00000004)
-#define INTC_IPRH_INT33                        (0x00000002)
-#define INTC_IPRH_INT32                        (0x00000001)
-
-/* Bit definitions and macros for INTC_IPRL */
-#define INTC_IPRL_INT31                        (0x80000000)
-#define INTC_IPRL_INT30                        (0x40000000)
-#define INTC_IPRL_INT29                        (0x20000000)
-#define INTC_IPRL_INT28                        (0x10000000)
-#define INTC_IPRL_INT27                        (0x08000000)
-#define INTC_IPRL_INT26                        (0x04000000)
-#define INTC_IPRL_INT25                        (0x02000000)
-#define INTC_IPRL_INT24                        (0x01000000)
-#define INTC_IPRL_INT23                        (0x00800000)
-#define INTC_IPRL_INT22                        (0x00400000)
-#define INTC_IPRL_INT21                        (0x00200000)
-#define INTC_IPRL_INT20                        (0x00100000)
-#define INTC_IPRL_INT19                        (0x00080000)
-#define INTC_IPRL_INT18                        (0x00040000)
-#define INTC_IPRL_INT17                        (0x00020000)
-#define INTC_IPRL_INT16                        (0x00010000)
-#define INTC_IPRL_INT15                        (0x00008000)
-#define INTC_IPRL_INT14                        (0x00004000)
-#define INTC_IPRL_INT13                        (0x00002000)
-#define INTC_IPRL_INT12                        (0x00001000)
-#define INTC_IPRL_INT11                        (0x00000800)
-#define INTC_IPRL_INT10                        (0x00000400)
-#define INTC_IPRL_INT9                 (0x00000200)
-#define INTC_IPRL_INT8                 (0x00000100)
-#define INTC_IPRL_INT7                 (0x00000080)
-#define INTC_IPRL_INT6                 (0x00000040)
-#define INTC_IPRL_INT5                 (0x00000020)
-#define INTC_IPRL_INT4                 (0x00000010)
-#define INTC_IPRL_INT3                 (0x00000008)
-#define INTC_IPRL_INT2                 (0x00000004)
-#define INTC_IPRL_INT1                 (0x00000002)
-#define INTC_IPRL_INT0                 (0x00000001)
-
-/* Bit definitions and macros for INTC_ICONFIG */
-#define INTC_ICFG_ELVLPRI7             (0x8000)
-#define INTC_ICFG_ELVLPRI6             (0x4000)
-#define INTC_ICFG_ELVLPRI5             (0x2000)
-#define INTC_ICFG_ELVLPRI4             (0x1000)
-#define INTC_ICFG_ELVLPRI3             (0x0800)
-#define INTC_ICFG_ELVLPRI2             (0x0400)
-#define INTC_ICFG_ELVLPRI1             (0x0200)
-#define INTC_ICFG_EMASK                        (0x0020)
-
-/* Bit definitions and macros for INTC_SIMR */
-#define INTC_SIMR_SALL                 (0x40)
-#define INTC_SIMR_SIMR(x)              ((x)&0x3F)
-
-/* Bit definitions and macros for INTC_CIMR */
-#define INTC_CIMR_CALL                 (0x40)
-#define INTC_CIMR_CIMR(x)              ((x)&0x3F)
-
-/* Bit definitions and macros for INTC_CLMASK */
-#define INTC_CLMASK_CLMASK(x)          ((x)&0x0F)
-
-/* Bit definitions and macros for INTC_SLMASK */
-#define INTC_SLMASK_SLMASK(x)          ((x)&0x0F)
-
-/* Bit definitions and macros for INTC_ICR */
-#define INTC_ICR_IL(x)                 ((x)&0x07)
-
-/*********************************************************************
-* Queued Serial Peripheral Interface (QSPI)
-*********************************************************************/
-/* Bit definitions and macros for QSPI_QMR */
-#define QSPI_QMR_MSTR                  (0x8000)
-#define QSPI_QMR_DOHIE                 (0x4000)
-#define QSPI_QMR_BITS(x)               (((x)&0x000F)<<10)
-#define QSPI_QMR_CPOL                  (0x0200)
-#define QSPI_QMR_CPHA                  (0x0100)
-#define QSPI_QMR_BAUD(x)               ((x)&0x00FF)
-
-/* Bit definitions and macros for QSPI_QDLYR */
-#define QSPI_QDLYR_SPE                 (0x8000)
-#define QSPI_QDLYR_QCD(x)              (((x)&0x007F)<<8)
-#define QSPI_QDLYR_DTL(x)              ((x)&0x00FF)
-
-/* Bit definitions and macros for QSPI_QWR */
-#define QSPI_QWR_NEWQP(x)              ((x)&0x000F)
-#define QSPI_QWR_ENDQP(x)              (((x)&0x000F)<<8)
-#define QSPI_QWR_CSIV                  (0x1000)
-#define QSPI_QWR_WRTO                  (0x2000)
-#define QSPI_QWR_WREN                  (0x4000)
-#define QSPI_QWR_HALT                  (0x8000)
-
-/* Bit definitions and macros for QSPI_QIR */
-#define QSPI_QIR_WCEFB                 (0x8000)
-#define QSPI_QIR_ABRTB                 (0x4000)
-#define QSPI_QIR_ABRTL                 (0x1000)
-#define QSPI_QIR_WCEFE                 (0x0800)
-#define QSPI_QIR_ABRTE                 (0x0400)
-#define QSPI_QIR_SPIFE                 (0x0100)
-#define QSPI_QIR_WCEF                  (0x0008)
-#define QSPI_QIR_ABRT                  (0x0004)
-#define QSPI_QIR_SPIF                  (0x0001)
-
-/* Bit definitions and macros for QSPI_QAR */
-#define QSPI_QAR_ADDR(x)               ((x)&0x003F)
-#define QSPI_QAR_TRANS                 (0x0000)
-#define QSPI_QAR_RECV                  (0x0010)
-#define QSPI_QAR_CMD                   (0x0020)
-
-/* Bit definitions and macros for QSPI_QDR */
-#define QSPI_QDR_CONT                  (0x8000)
-#define QSPI_QDR_BITSE                 (0x4000)
-#define QSPI_QDR_DT                    (0x2000)
-#define QSPI_QDR_DSCK                  (0x1000)
-#define QSPI_QDR_QSPI_CS3              (0x0800)
-#define QSPI_QDR_QSPI_CS2              (0x0400)
-#define QSPI_QDR_QSPI_CS1              (0x0200)
-#define QSPI_QDR_QSPI_CS0              (0x0100)
-
-/*********************************************************************
-* Pulse Width Modulation (PWM)
-*********************************************************************/
-/* Bit definitions and macros for PWM_E */
-#define PWM_EN_PWME7                   (0x80)
-#define PWM_EN_PWME5                   (0x20)
-#define PWM_EN_PWME3                   (0x08)
-#define PWM_EN_PWME1                   (0x02)
-
-/* Bit definitions and macros for PWM_POL */
-#define PWM_POL_PPOL7                  (0x80)
-#define PWM_POL_PPOL5                  (0x20)
-#define PWM_POL_PPOL3                  (0x08)
-#define PWM_POL_PPOL1                  (0x02)
-
-/* Bit definitions and macros for PWM_CLK */
-#define PWM_CLK_PCLK7                  (0x80)
-#define PWM_CLK_PCLK5                  (0x20)
-#define PWM_CLK_PCLK3                  (0x08)
-#define PWM_CLK_PCLK1                  (0x02)
-
-/* Bit definitions and macros for PWM_PRCLK */
-#define PWM_PRCLK_PCKB(x)              (((x)&0x07)<<4)
-#define PWM_PRCLK_PCKA(x)              ((x)&0x07)
-
-/* Bit definitions and macros for PWM_CAE */
-#define PWM_CAE_CAE7                   (0x80)
-#define PWM_CAE_CAE5                   (0x20)
-#define PWM_CAE_CAE3                   (0x08)
-#define PWM_CAE_CAE1                   (0x02)
-
-/* Bit definitions and macros for PWM_CTL */
-#define PWM_CTL_CON67                  (0x80)
-#define PWM_CTL_CON45                  (0x40)
-#define PWM_CTL_CON23                  (0x20)
-#define PWM_CTL_CON01                  (0x10)
-#define PWM_CTL_PSWAR                  (0x08)
-#define PWM_CTL_PFRZ                   (0x04)
-
-/* Bit definitions and macros for PWM_SDN */
-#define PWM_SDN_IF                     (0x80)
-#define PWM_SDN_IE                     (0x40)
-#define PWM_SDN_RESTART                        (0x20)
-#define PWM_SDN_LVL                    (0x10)
-#define PWM_SDN_PWM7IN                 (0x04)
-#define PWM_SDN_PWM7IL                 (0x02)
-#define PWM_SDN_SDNEN                  (0x01)
-
 /*********************************************************************
 * Watchdog Timer Modules (WTM)
 *********************************************************************/
 #define GPIO_PCLRR_LCDCTLL7            (0x80)
 
 /* Bit definitions and macros for GPIO_PAR_FEC */
+#ifdef CONFIG_M5329
 #define GPIO_PAR_FEC_MII(x)            (((x)&0x03)<<0)
 #define GPIO_PAR_FEC_7W(x)             (((x)&0x03)<<2)
 #define GPIO_PAR_FEC_7W_GPIO           (0x00)
 #define GPIO_PAR_FEC_MII_GPIO          (0x00)
 #define GPIO_PAR_FEC_MII_UART          (0x01)
 #define GPIO_PAR_FEC_MII_FEC           (0x03)
+#else
+#define GPIO_PAR_FEC_7W_FEC            (0x08)
+#define GPIO_PAR_FEC_MII_FEC           (0x02)
+#endif
 
 /* Bit definitions and macros for GPIO_PAR_PWM */
 #define GPIO_PAR_PWM1(x)               (((x)&0x03)<<0)
 /* Bit definitions and macros for GPIO_DSCR_IRQ */
 #define GPIO_DSCR_IRQ_DSE(x)           ((x)&0x03)
 
-/* not done yet */
-/*********************************************************************
-* LCD Controller (LCDC)
-*********************************************************************/
-/* Bit definitions and macros for LCDC_LSSAR */
-#define LCDC_LSSAR_SSA(x)              (((x)&0x3FFFFFFF)<<2)
-
-/* Bit definitions and macros for LCDC_LSR */
-#define LCDC_LSR_YMAX(x)               (((x)&0x000003FF)<<0)
-#define LCDC_LSR_XMAX(x)               (((x)&0x0000003F)<<20)
-
-/* Bit definitions and macros for LCDC_LVPWR */
-#define LCDC_LVPWR_VPW(x)              (((x)&0x000003FF)<<0)
-
-/* Bit definitions and macros for LCDC_LCPR */
-#define LCDC_LCPR_CYP(x)               (((x)&0x000003FF)<<0)
-#define LCDC_LCPR_CXP(x)               (((x)&0x000003FF)<<16)
-#define LCDC_LCPR_OP                   (0x10000000)
-#define LCDC_LCPR_CC(x)                        (((x)&0x00000003)<<30)
-#define LCDC_LCPR_CC_TRANSPARENT       (0x00000000)
-#define LCDC_LCPR_CC_OR                        (0x40000000)
-#define LCDC_LCPR_CC_XOR               (0x80000000)
-#define LCDC_LCPR_CC_AND               (0xC0000000)
-#define LCDC_LCPR_OP_ON                        (0x10000000)
-#define LCDC_LCPR_OP_OFF               (0x00000000)
-
-/* Bit definitions and macros for LCDC_LCWHBR */
-#define LCDC_LCWHBR_BD(x)              (((x)&0x000000FF)<<0)
-#define LCDC_LCWHBR_CH(x)              (((x)&0x0000001F)<<16)
-#define LCDC_LCWHBR_CW(x)              (((x)&0x0000001F)<<24)
-#define LCDC_LCWHBR_BK_EN              (0x80000000)
-#define LCDC_LCWHBR_BK_EN_ON           (0x80000000)
-#define LCDC_LCWHBR_BK_EN_OFF          (0x00000000)
-
-/* Bit definitions and macros for LCDC_LCCMR */
-#define LCDC_LCCMR_CUR_COL_B(x)                (((x)&0x0000003F)<<0)
-#define LCDC_LCCMR_CUR_COL_G(x)                (((x)&0x0000003F)<<6)
-#define LCDC_LCCMR_CUR_COL_R(x)                (((x)&0x0000003F)<<12)
-
-/* Bit definitions and macros for LCDC_LPCR */
-#define LCDC_LPCR_PCD(x)               (((x)&0x0000003F)<<0)
-#define LCDC_LPCR_SHARP                        (0x00000040)
-#define LCDC_LPCR_SCLKSEL              (0x00000080)
-#define LCDC_LPCR_ACD(x)               (((x)&0x0000007F)<<8)
-#define LCDC_LPCR_ACDSEL               (0x00008000)
-#define LCDC_LPCR_REV_VS               (0x00010000)
-#define LCDC_LPCR_SWAP_SEL             (0x00020000)
-#define LCDC_LPCR_ENDSEL               (0x00040000)
-#define LCDC_LPCR_SCLKIDLE             (0x00080000)
-#define LCDC_LPCR_OEPOL                        (0x00100000)
-#define LCDC_LPCR_CLKPOL               (0x00200000)
-#define LCDC_LPCR_LPPOL                        (0x00400000)
-#define LCDC_LPCR_FLM                  (0x00800000)
-#define LCDC_LPCR_PIXPOL               (0x01000000)
-#define LCDC_LPCR_BPIX(x)              (((x)&0x00000007)<<25)
-#define LCDC_LPCR_PBSIZ(x)             (((x)&0x00000003)<<28)
-#define LCDC_LPCR_COLOR                        (0x40000000)
-#define LCDC_LPCR_TFT                  (0x80000000)
-#define LCDC_LPCR_MODE_MONOCHROME      (0x00000000)
-#define LCDC_LPCR_MODE_CSTN            (0x40000000)
-#define LCDC_LPCR_MODE_TFT             (0xC0000000)
-#define LCDC_LPCR_PBSIZ_1              (0x00000000)
-#define LCDC_LPCR_PBSIZ_2              (0x10000000)
-#define LCDC_LPCR_PBSIZ_4              (0x20000000)
-#define LCDC_LPCR_PBSIZ_8              (0x30000000)
-#define LCDC_LPCR_BPIX_1bpp            (0x00000000)
-#define LCDC_LPCR_BPIX_2bpp            (0x02000000)
-#define LCDC_LPCR_BPIX_4bpp            (0x04000000)
-#define LCDC_LPCR_BPIX_8bpp            (0x06000000)
-#define LCDC_LPCR_BPIX_12bpp           (0x08000000)
-#define LCDC_LPCR_BPIX_16bpp           (0x0A000000)
-#define LCDC_LPCR_BPIX_18bpp           (0x0C000000)
-
-#define LCDC_LPCR_PANEL_TYPE(x)                (((x)&0x00000003)<<30)
-
-/* Bit definitions and macros for LCDC_LHCR */
-#define LCDC_LHCR_H_WAIT_2(x)          (((x)&0x000000FF)<<0)
-#define LCDC_LHCR_H_WAIT_1(x)          (((x)&0x000000FF)<<8)
-#define LCDC_LHCR_H_WIDTH(x)           (((x)&0x0000003F)<<26)
-
-/* Bit definitions and macros for LCDC_LVCR */
-#define LCDC_LVCR_V_WAIT_2(x)          (((x)&0x000000FF)<<0)
-#define LCDC_LVCR_V_WAIT_1(x)          (((x)&0x000000FF)<<8)
-#define LCDC_LVCR_V_WIDTH(x)           (((x)&0x0000003F)<<26)
-
-/* Bit definitions and macros for LCDC_LPOR */
-#define LCDC_LPOR_POS(x)               (((x)&0x0000001F)<<0)
-
-/* Bit definitions and macros for LCDC_LPCCR */
-#define LCDC_LPCCR_PW(x)               (((x)&0x000000FF)<<0)
-#define LCDC_LPCCR_CC_EN               (0x00000100)
-#define LCDC_LPCCR_SCR(x)              (((x)&0x00000003)<<9)
-#define LCDC_LPCCR_LDMSK               (0x00008000)
-#define LCDC_LPCCR_CLS_HI_WIDTH(x)     (((x)&0x000001FF)<<16)
-#define LCDC_LPCCR_SCR_LINEPULSE       (0x00000000)
-#define LCDC_LPCCR_SCR_PIXELCLK                (0x00002000)
-#define LCDC_LPCCR_SCR_LCDCLOCK                (0x00004000)
-
-/* Bit definitions and macros for LCDC_LDCR */
-#define LCDC_LDCR_TM(x)                        (((x)&0x0000001F)<<0)
-#define LCDC_LDCR_HM(x)                        (((x)&0x0000001F)<<16)
-#define LCDC_LDCR_BURST                        (0x80000000)
-
-/* Bit definitions and macros for LCDC_LRMCR */
-#define LCDC_LRMCR_SEL_REF             (0x00000001)
-
-/* Bit definitions and macros for LCDC_LICR */
-#define LCDC_LICR_INTCON               (0x00000001)
-#define LCDC_LICR_INTSYN               (0x00000004)
-#define LCDC_LICR_GW_INT_CON           (0x00000010)
-
-/* Bit definitions and macros for LCDC_LIER */
-#define LCDC_LIER_BOF_EN               (0x00000001)
-#define LCDC_LIER_EOF_EN               (0x00000002)
-#define LCDC_LIER_ERR_RES_EN           (0x00000004)
-#define LCDC_LIER_UDR_ERR_EN           (0x00000008)
-#define LCDC_LIER_GW_BOF_EN            (0x00000010)
-#define LCDC_LIER_GW_EOF_EN            (0x00000020)
-#define LCDC_LIER_GW_ERR_RES_EN                (0x00000040)
-#define LCDC_LIER_GW_UDR_ERR_EN                (0x00000080)
-
-/* Bit definitions and macros for LCDC_LISR */
-#define LCDC_LISR_BOF                  (0x00000001)
-#define LCDC_LISR_EOF                  (0x00000002)
-#define LCDC_LISR_ERR_RES              (0x00000004)
-#define LCDC_LISR_UDR_ERR              (0x00000008)
-#define LCDC_LISR_GW_BOF               (0x00000010)
-#define LCDC_LISR_GW_EOF               (0x00000020)
-#define LCDC_LISR_GW_ERR_RES           (0x00000040)
-#define LCDC_LISR_GW_UDR_ERR           (0x00000080)
-
-/* Bit definitions and macros for LCDC_LGWSAR */
-#define LCDC_LGWSAR_GWSA(x)            (((x)&0x3FFFFFFF)<<2)
-
-/* Bit definitions and macros for LCDC_LGWSR */
-#define LCDC_LGWSR_GWH(x)              (((x)&0x000003FF)<<0)
-#define LCDC_LGWSR_GWW(x)              (((x)&0x0000003F)<<20)
-
-/* Bit definitions and macros for LCDC_LGWVPWR */
-#define LCDC_LGWVPWR_GWVPW(x)          (((x)&0x000003FF)<<0)
-
-/* Bit definitions and macros for LCDC_LGWPOR */
-#define LCDC_LGWPOR_GWPO(x)            (((x)&0x0000001F)<<0)
-
-/* Bit definitions and macros for LCDC_LGWPR */
-#define LCDC_LGWPR_GWYP(x)             (((x)&0x000003FF)<<0)
-#define LCDC_LGWPR_GWXP(x)             (((x)&0x000003FF)<<16)
-
-/* Bit definitions and macros for LCDC_LGWCR */
-#define LCDC_LGWCR_GWCKB(x)            (((x)&0x0000003F)<<0)
-#define LCDC_LGWCR_GWCKG(x)            (((x)&0x0000003F)<<6)
-#define LCDC_LGWCR_GWCKR(x)            (((x)&0x0000003F)<<12)
-#define LCDC_LGWCR_GW_RVS              (0x00200000)
-#define LCDC_LGWCR_GWE                 (0x00400000)
-#define LCDC_LGWCR_GWCKE               (0x00800000)
-#define LCDC_LGWCR_GWAV(x)             (((x)&0x000000FF)<<24)
-
-/* Bit definitions and macros for LCDC_LGWDCR */
-#define LCDC_LGWDCR_GWTM(x)            (((x)&0x0000001F)<<0)
-#define LCDC_LGWDCR_GWHM(x)            (((x)&0x0000001F)<<16)
-#define LCDC_LGWDCR_GWBT               (0x80000000)
-
 /*********************************************************************
 * SDRAM Controller (SDRAMC)
 *********************************************************************/
 #define SDRAMC_SDCS_CSSZ_1MBYTE                (0x00000013)
 #define SDRAMC_SDCS_CSSZ_DIABLE                (0x00000000)
 
-/*********************************************************************
-* Synchronous Serial Interface (SSI)
-*********************************************************************/
-/* Bit definitions and macros for SSI_CR */
-#define SSI_CR_CIS                     (0x00000200)
-#define SSI_CR_TCH                     (0x00000100)
-#define SSI_CR_MCE                     (0x00000080)
-#define SSI_CR_I2S_SLAVE               (0x00000040)
-#define SSI_CR_I2S_MASTER              (0x00000020)
-#define SSI_CR_I2S_NORMAL              (0x00000000)
-#define SSI_CR_SYN                     (0x00000010)
-#define SSI_CR_NET                     (0x00000008)
-#define SSI_CR_RE                      (0x00000004)
-#define SSI_CR_TE                      (0x00000002)
-#define SSI_CR_SSI_EN                  (0x00000001)
-
-/* Bit definitions and macros for SSI_ISR */
-#define SSI_ISR_CMDAU                  (0x00040000)
-#define SSI_ISR_CMDDU                  (0x00020000)
-#define SSI_ISR_RXT                    (0x00010000)
-#define SSI_ISR_RDR1                   (0x00008000)
-#define SSI_ISR_RDR0                   (0x00004000)
-#define SSI_ISR_TDE1                   (0x00002000)
-#define SSI_ISR_TDE0                   (0x00001000)
-#define SSI_ISR_ROE1                   (0x00000800)
-#define SSI_ISR_ROE0                   (0x00000400)
-#define SSI_ISR_TUE1                   (0x00000200)
-#define SSI_ISR_TUE0                   (0x00000100)
-#define SSI_ISR_TFS                    (0x00000080)
-#define SSI_ISR_RFS                    (0x00000040)
-#define SSI_ISR_TLS                    (0x00000020)
-#define SSI_ISR_RLS                    (0x00000010)
-#define SSI_ISR_RFF1                   (0x00000008)
-#define SSI_ISR_RFF0                   (0x00000004)
-#define SSI_ISR_TFE1                   (0x00000002)
-#define SSI_ISR_TFE0                   (0x00000001)
-
-/* Bit definitions and macros for SSI_IER */
-#define SSI_IER_RDMAE                  (0x00400000)
-#define SSI_IER_RIE                    (0x00200000)
-#define SSI_IER_TDMAE                  (0x00100000)
-#define SSI_IER_TIE                    (0x00080000)
-#define SSI_IER_CMDAU                  (0x00040000)
-#define SSI_IER_CMDU                   (0x00020000)
-#define SSI_IER_RXT                    (0x00010000)
-#define SSI_IER_RDR1                   (0x00008000)
-#define SSI_IER_RDR0                   (0x00004000)
-#define SSI_IER_TDE1                   (0x00002000)
-#define SSI_IER_TDE0                   (0x00001000)
-#define SSI_IER_ROE1                   (0x00000800)
-#define SSI_IER_ROE0                   (0x00000400)
-#define SSI_IER_TUE1                   (0x00000200)
-#define SSI_IER_TUE0                   (0x00000100)
-#define SSI_IER_TFS                    (0x00000080)
-#define SSI_IER_RFS                    (0x00000040)
-#define SSI_IER_TLS                    (0x00000020)
-#define SSI_IER_RLS                    (0x00000010)
-#define SSI_IER_RFF1                   (0x00000008)
-#define SSI_IER_RFF0                   (0x00000004)
-#define SSI_IER_TFE1                   (0x00000002)
-#define SSI_IER_TFE0                   (0x00000001)
-
-/* Bit definitions and macros for SSI_TCR */
-#define SSI_TCR_TXBIT0                 (0x00000200)
-#define SSI_TCR_TFEN1                  (0x00000100)
-#define SSI_TCR_TFEN0                  (0x00000080)
-#define SSI_TCR_TFDIR                  (0x00000040)
-#define SSI_TCR_TXDIR                  (0x00000020)
-#define SSI_TCR_TSHFD                  (0x00000010)
-#define SSI_TCR_TSCKP                  (0x00000008)
-#define SSI_TCR_TFSI                   (0x00000004)
-#define SSI_TCR_TFSL                   (0x00000002)
-#define SSI_TCR_TEFS                   (0x00000001)
-
-/* Bit definitions and macros for SSI_RCR */
-#define SSI_RCR_RXEXT                  (0x00000400)
-#define SSI_RCR_RXBIT0                 (0x00000200)
-#define SSI_RCR_RFEN1                  (0x00000100)
-#define SSI_RCR_RFEN0                  (0x00000080)
-#define SSI_RCR_RSHFD                  (0x00000010)
-#define SSI_RCR_RSCKP                  (0x00000008)
-#define SSI_RCR_RFSI                   (0x00000004)
-#define SSI_RCR_RFSL                   (0x00000002)
-#define SSI_RCR_REFS                   (0x00000001)
-
-/* Bit definitions and macros for SSI_CCR */
-#define SSI_CCR_DIV2                   (0x00040000)
-#define SSI_CCR_PSR                    (0x00020000)
-#define SSI_CCR_WL(x)                  (((x)&0x0000000F)<<13)
-#define SSI_CCR_DC(x)                  (((x)&0x0000001F)<<8)
-#define SSI_CCR_PM(x)                  ((x)&0x000000FF)
-
-/* Bit definitions and macros for SSI_FCSR */
-#define SSI_FCSR_RFCNT1(x)             (((x)&0x0000000F)<<28)
-#define SSI_FCSR_TFCNT1(x)             (((x)&0x0000000F)<<24)
-#define SSI_FCSR_RFWM1(x)              (((x)&0x0000000F)<<20)
-#define SSI_FCSR_TFWM1(x)              (((x)&0x0000000F)<<16)
-#define SSI_FCSR_RFCNT0(x)             (((x)&0x0000000F)<<12)
-#define SSI_FCSR_TFCNT0(x)             (((x)&0x0000000F)<<8)
-#define SSI_FCSR_RFWM0(x)              (((x)&0x0000000F)<<4)
-#define SSI_FCSR_TFWM0(x)              ((x)&0x0000000F)
-
-/* Bit definitions and macros for SSI_ACR */
-#define SSI_ACR_FRDIV(x)               (((x)&0x0000003F)<<5)
-#define SSI_ACR_WR                     (0x00000010)
-#define SSI_ACR_RD                     (0x00000008)
-#define SSI_ACR_TIF                    (0x00000004)
-#define SSI_ACR_FV                     (0x00000002)
-#define SSI_ACR_AC97EN                 (0x00000001)
-
-/* Bit definitions and macros for SSI_ACADD */
-#define SSI_ACADD_SSI_ACADD(x)         ((x)&0x0007FFFF)
-
-/* Bit definitions and macros for SSI_ACDAT */
-#define SSI_ACDAT_SSI_ACDAT(x)         ((x)&0x0007FFFF)
-
-/* Bit definitions and macros for SSI_ATAG */
-#define SSI_ATAG_DDI_ATAG(x)           ((x)&0x0000FFFF)
-
 /*********************************************************************
 * Phase Locked Loop (PLL)
 *********************************************************************/