|
@@ -22,101 +22,6 @@
|
|
|
#include <mach/mx25.h>
|
|
|
#include <mach/irqs.h>
|
|
|
|
|
|
-static struct resource uart0[] = {
|
|
|
- {
|
|
|
- .start = 0x43f90000,
|
|
|
- .end = 0x43f93fff,
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
- }, {
|
|
|
- .start = 45,
|
|
|
- .end = 45,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-struct platform_device mxc_uart_device0 = {
|
|
|
- .name = "imx-uart",
|
|
|
- .id = 0,
|
|
|
- .resource = uart0,
|
|
|
- .num_resources = ARRAY_SIZE(uart0),
|
|
|
-};
|
|
|
-
|
|
|
-static struct resource uart1[] = {
|
|
|
- {
|
|
|
- .start = 0x43f94000,
|
|
|
- .end = 0x43f97fff,
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
- }, {
|
|
|
- .start = 32,
|
|
|
- .end = 32,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-struct platform_device mxc_uart_device1 = {
|
|
|
- .name = "imx-uart",
|
|
|
- .id = 1,
|
|
|
- .resource = uart1,
|
|
|
- .num_resources = ARRAY_SIZE(uart1),
|
|
|
-};
|
|
|
-
|
|
|
-static struct resource uart2[] = {
|
|
|
- {
|
|
|
- .start = 0x5000c000,
|
|
|
- .end = 0x5000ffff,
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
- }, {
|
|
|
- .start = 18,
|
|
|
- .end = 18,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-struct platform_device mxc_uart_device2 = {
|
|
|
- .name = "imx-uart",
|
|
|
- .id = 2,
|
|
|
- .resource = uart2,
|
|
|
- .num_resources = ARRAY_SIZE(uart2),
|
|
|
-};
|
|
|
-
|
|
|
-static struct resource uart3[] = {
|
|
|
- {
|
|
|
- .start = 0x50008000,
|
|
|
- .end = 0x5000bfff,
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
- }, {
|
|
|
- .start = 5,
|
|
|
- .end = 5,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-struct platform_device mxc_uart_device3 = {
|
|
|
- .name = "imx-uart",
|
|
|
- .id = 3,
|
|
|
- .resource = uart3,
|
|
|
- .num_resources = ARRAY_SIZE(uart3),
|
|
|
-};
|
|
|
-
|
|
|
-static struct resource uart4[] = {
|
|
|
- {
|
|
|
- .start = 0x5002c000,
|
|
|
- .end = 0x5002ffff,
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
- }, {
|
|
|
- .start = 40,
|
|
|
- .end = 40,
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-struct platform_device mxc_uart_device4 = {
|
|
|
- .name = "imx-uart",
|
|
|
- .id = 4,
|
|
|
- .resource = uart4,
|
|
|
- .num_resources = ARRAY_SIZE(uart4),
|
|
|
-};
|
|
|
-
|
|
|
#define MX25_OTG_BASE_ADDR 0x53FF4000
|
|
|
|
|
|
static u64 otg_dmamask = DMA_BIT_MASK(32);
|