20 #define LS1X_UART(_id) \
22 .mapbase = LS1X_UART ## _id ## _BASE, \
23 .irq = LS1X_UART ## _id ## _IRQ, \
25 .flags = UPF_IOREMAP | UPF_FIXED_TYPE, \
26 .type = PORT_16550A, \
41 .platform_data = ls1x_serial8250_port,
52 panic(
"unable to get dc clock, err=%ld", PTR_ERR(clk));
54 for (p = ls1x_serial8250_port; p->
flags != 0; ++
p)
59 static struct resource ls1x_eth0_resources[] = {
80 .mdio_bus_data = &ls1x_mdio_bus_data,
88 .num_resources =
ARRAY_SIZE(ls1x_eth0_resources),
89 .resource = ls1x_eth0_resources,
91 .platform_data = &ls1x_eth_data,
98 static struct resource ls1x_ehci_resources[] = {
113 .num_resources =
ARRAY_SIZE(ls1x_ehci_resources),
114 .resource = ls1x_ehci_resources,
116 .dma_mask = &ls1x_ehci_dmamask,