|
@@ -804,3 +804,182 @@
|
|
|
#define MCF_GPIO_PCLRR_BUSCTL_PCLRR_BUSCTL3 (0x08)
|
|
|
|
|
|
/* Bit definitions and macros for MCF_GPIO_PCLRR_BE */
|
|
|
+#define MCF_GPIO_PCLRR_BE_PCLRR_BE0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_BE_PCLRR_BE1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_BE_PCLRR_BE2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_BE_PCLRR_BE3 (0x08)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_CS */
|
|
|
+#define MCF_GPIO_PCLRR_CS_PCLRR_CS1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_CS_PCLRR_CS2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_CS_PCLRR_CS3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_CS_PCLRR_CS4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_CS_PCLRR_CS5 (0x20)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_PWM */
|
|
|
+#define MCF_GPIO_PCLRR_PWM_PCLRR_PWM2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_PWM_PCLRR_PWM3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_PWM_PCLRR_PWM4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_PWM_PCLRR_PWM5 (0x20)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_FECI2C */
|
|
|
+#define MCF_GPIO_PCLRR_FECI2C_PCLRR_FECI2C0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_FECI2C_PCLRR_FECI2C1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_FECI2C_PCLRR_FECI2C2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_FECI2C_PCLRR_FECI2C3 (0x08)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_UART */
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART5 (0x20)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART6 (0x40)
|
|
|
+#define MCF_GPIO_PCLRR_UART_PCLRR_UART7 (0x80)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_QSPI */
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_QSPI_PCLRR_QSPI5 (0x20)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_TIMER */
|
|
|
+#define MCF_GPIO_PCLRR_TIMER_PCLRR_TIMER0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_TIMER_PCLRR_TIMER1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_TIMER_PCLRR_TIMER2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_TIMER_PCLRR_TIMER3 (0x08)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_LCDDATAH */
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAH_PCLRR_LCDDATAH0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAH_PCLRR_LCDDATAH1 (0x02)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_LCDDATAM */
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM5 (0x20)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM6 (0x40)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAM_PCLRR_LCDDATAM7 (0x80)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_LCDDATAL */
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL5 (0x20)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL6 (0x40)
|
|
|
+#define MCF_GPIO_PCLRR_LCDDATAL_PCLRR_LCDDATAL7 (0x80)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_LCDCTLH */
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLH_PCLRR_LCDCTLH0 (0x01)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PCLRR_LCDCTLL */
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL0 (0x01)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL1 (0x02)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL2 (0x04)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL3 (0x08)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL4 (0x10)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL5 (0x20)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL6 (0x40)
|
|
|
+#define MCF_GPIO_PCLRR_LCDCTLL_PCLRR_LCDCTLL7 (0x80)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_FEC */
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_MII(x) (((x)&0x03)<<0)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_7W(x) (((x)&0x03)<<2)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_7W_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_7W_URTS1 (0x04)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_7W_FEC (0x0C)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_MII_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_MII_UART (0x01)
|
|
|
+#define MCF_GPIO_PAR_FEC_PAR_FEC_MII_FEC (0x03)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_PWM */
|
|
|
+#define MCF_GPIO_PAR_PWM_PAR_PWM1(x) (((x)&0x03)<<0)
|
|
|
+#define MCF_GPIO_PAR_PWM_PAR_PWM3(x) (((x)&0x03)<<2)
|
|
|
+#define MCF_GPIO_PAR_PWM_PAR_PWM5 (0x10)
|
|
|
+#define MCF_GPIO_PAR_PWM_PAR_PWM7 (0x20)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_BUSCTL */
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TS(x) (((x)&0x03)<<3)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_RWB (0x20)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TA (0x40)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_OE (0x80)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_OE_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_OE_OE (0x80)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TA_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TA_TA (0x40)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_RWB_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_RWB_RWB (0x20)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TS_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TS_DACK0 (0x10)
|
|
|
+#define MCF_GPIO_PAR_BUSCTL_PAR_TS_TS (0x18)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_FECI2C */
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SDA(x) (((x)&0x03)<<0)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SCL(x) (((x)&0x03)<<2)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDIO(x) (((x)&0x03)<<4)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDC(x) (((x)&0x03)<<6)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDC_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDC_UTXD2 (0x40)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDC_SCL (0x80)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDC_EMDC (0xC0)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDIO_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDIO_URXD2 (0x10)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDIO_SDA (0x20)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_MDIO_EMDIO (0x30)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SCL_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SCL_UTXD2 (0x04)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SCL_SCL (0x0C)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SDA_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SDA_URXD2 (0x02)
|
|
|
+#define MCF_GPIO_PAR_FECI2C_PAR_SDA_SDA (0x03)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_BE */
|
|
|
+#define MCF_GPIO_PAR_BE_PAR_BE0 (0x01)
|
|
|
+#define MCF_GPIO_PAR_BE_PAR_BE1 (0x02)
|
|
|
+#define MCF_GPIO_PAR_BE_PAR_BE2 (0x04)
|
|
|
+#define MCF_GPIO_PAR_BE_PAR_BE3 (0x08)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_CS */
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS1 (0x02)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS2 (0x04)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS3 (0x08)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS4 (0x10)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS5 (0x20)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS_CS1_GPIO (0x00)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS_CS1_SDCS1 (0x01)
|
|
|
+#define MCF_GPIO_PAR_CS_PAR_CS_CS1_CS1 (0x03)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_SSI */
|
|
|
+#define MCF_GPIO_PAR_SSI_PAR_MCLK (0x0080)
|
|
|
+#define MCF_GPIO_PAR_SSI_PAR_TXD(x) (((x)&0x0003)<<8)
|
|
|
+#define MCF_GPIO_PAR_SSI_PAR_RXD(x) (((x)&0x0003)<<10)
|
|
|
+#define MCF_GPIO_PAR_SSI_PAR_FS(x) (((x)&0x0003)<<12)
|
|
|
+#define MCF_GPIO_PAR_SSI_PAR_BCLK(x) (((x)&0x0003)<<14)
|
|
|
+
|
|
|
+/* Bit definitions and macros for MCF_GPIO_PAR_UART */
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UTXD0 (0x0001)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URXD0 (0x0002)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS0 (0x0004)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS0 (0x0008)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UTXD1(x) (((x)&0x0003)<<4)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URXD1(x) (((x)&0x0003)<<6)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS1(x) (((x)&0x0003)<<8)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS1(x) (((x)&0x0003)<<10)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS1_GPIO (0x0000)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS1_SSI_BCLK (0x0800)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS1_ULPI_D7 (0x0400)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_UCTS1_UCTS1 (0x0C00)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS1_GPIO (0x0000)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS1_SSI_FS (0x0200)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS1_ULPI_D6 (0x0100)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URTS1_URTS1 (0x0300)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URXD1_GPIO (0x0000)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URXD1_SSI_RXD (0x0080)
|
|
|
+#define MCF_GPIO_PAR_UART_PAR_URXD1_ULPI_D5 (0x0040)
|