|
@@ -1082,3 +1082,72 @@
|
|
|
#define MCF_GPIO_DSCR_DEBUG_DEBUG_DSE(x) (((x)&0x03)<<0)
|
|
|
|
|
|
/* Bit definitions and macros for MCF_GPIO_DSCR_CLKRST */
|
|
|
+#define MCF_GPIO_DSCR_CLKRST_CLKRST_DSE(x) (((x)&0x03)<<0)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_DSCR_IRQ */
|
|
|
+#define MCF_GPIO_DSCR_IRQ_IRQ_DSE(x) (((x)&0x03)<<0)
|
|
|
+
|
|
|
+/*
|
|
|
+ * Generic GPIO support
|
|
|
+ */
|
|
|
+#define MCFGPIO_PODR MCFGPIO_PODR_FECH
|
|
|
+#define MCFGPIO_PDDR MCFGPIO_PDDR_FECH
|
|
|
+#define MCFGPIO_PPDR MCFGPIO_PPDSDR_FECH
|
|
|
+#define MCFGPIO_SETR MCFGPIO_PPDSDR_FECH
|
|
|
+#define MCFGPIO_CLRR MCFGPIO_PCLRR_FECH
|
|
|
+
|
|
|
+#define MCFGPIO_PIN_MAX 136
|
|
|
+#define MCFGPIO_IRQ_MAX 8
|
|
|
+#define MCFGPIO_IRQ_VECBASE MCFINT_VECBASE
|
|
|
+
|
|
|
+/*********************************************************************
|
|
|
+ *
|
|
|
+ * Phase Locked Loop (PLL)
|
|
|
+ *
|
|
|
+ *********************************************************************/
|
|
|
+
|
|
|
+/* Register read/write macros */
|
|
|
+#define MCF_PLL_PODR 0xFC0C0000
|
|
|
+#define MCF_PLL_PLLCR 0xFC0C0004
|
|
|
+#define MCF_PLL_PMDR 0xFC0C0008
|
|
|
+#define MCF_PLL_PFDR 0xFC0C000C
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_PLL_PODR */
|
|
|
+#define MCF_PLL_PODR_BUSDIV(x) (((x)&0x0F)<<0)
|
|
|
+#define MCF_PLL_PODR_CPUDIV(x) (((x)&0x0F)<<4)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_PLL_PLLCR */
|
|
|
+#define MCF_PLL_PLLCR_DITHDEV(x) (((x)&0x07)<<0)
|
|
|
+#define MCF_PLL_PLLCR_DITHEN (0x80)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_PLL_PMDR */
|
|
|
+#define MCF_PLL_PMDR_MODDIV(x) (((x)&0xFF)<<0)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_PLL_PFDR */
|
|
|
+#define MCF_PLL_PFDR_MFD(x) (((x)&0xFF)<<0)
|
|
|
+
|
|
|
+/*********************************************************************
|
|
|
+ *
|
|
|
+ * System Control Module Registers (SCM)
|
|
|
+ *
|
|
|
+ *********************************************************************/
|
|
|
+
|
|
|
+/* Register read/write macros */
|
|
|
+#define MCF_SCM_MPR 0xFC000000
|
|
|
+#define MCF_SCM_PACRA 0xFC000020
|
|
|
+#define MCF_SCM_PACRB 0xFC000024
|
|
|
+#define MCF_SCM_PACRC 0xFC000028
|
|
|
+#define MCF_SCM_PACRD 0xFC00002C
|
|
|
+#define MCF_SCM_PACRE 0xFC000040
|
|
|
+#define MCF_SCM_PACRF 0xFC000044
|
|
|
+
|
|
|
+#define MCF_SCM_BCR 0xFC040024
|
|
|
+
|
|
|
+/*********************************************************************
|
|
|
+ *
|
|
|
+ * SDRAM Controller (SDRAMC)
|
|
|
+ *
|
|
|
+ *********************************************************************/
|
|
|
+
|
|
|
+/* Register read/write macros */
|
|
|
+#define MCF_SDRAMC_SDMR 0xFC0B8000
|