17 #include <linux/kernel.h>
18 #include <linux/compiler.h>
21 #include <linux/serial_core.h>
27 #include <asm/setup.h>
34 #include <mach/irqs.h>
56 .name =
"filesystem2",
68 .parts = cns3420_nor_partitions,
69 .nr_parts =
ARRAY_SIZE(cns3420_nor_partitions),
72 static struct resource cns3420_nor_res = {
79 .name =
"physmap-flash",
81 .resource = &cns3420_nor_res,
84 .platform_data = &cns3420_nor_pdata,
91 static void __init cns3420_early_serial_setup(
void)
93 #ifdef CONFIG_SERIAL_8250_CONSOLE
94 static struct uart_port cns3420_serial_port = {
114 static struct resource cns3xxx_usb_ehci_resources[] = {
129 .name =
"cns3xxx-ehci",
130 .num_resources =
ARRAY_SIZE(cns3xxx_usb_ehci_resources),
131 .resource = cns3xxx_usb_ehci_resources,
133 .dma_mask = &cns3xxx_usb_ehci_dma_mask,
138 static struct resource cns3xxx_usb_ohci_resources[] = {
153 .name =
"cns3xxx-ohci",
154 .num_resources =
ARRAY_SIZE(cns3xxx_usb_ohci_resources),
155 .resource = cns3xxx_usb_ohci_resources,
157 .dma_mask = &cns3xxx_usb_ohci_dma_mask,
167 &cns3xxx_usb_ehci_device,
168 &cns3xxx_usb_ohci_device,
171 static void __init cns3420_init(
void)
183 static struct map_desc cns3420_io_desc[] __initdata = {
192 static void __init cns3420_map_io(
void)
197 cns3420_early_serial_setup();
200 MACHINE_START(CNS3420VB,
"Cavium Networks CNS3420 Validation Board")
201 .atag_offset = 0x100,
202 .map_io = cns3420_map_io,
206 .init_machine = cns3420_init,