11 #include <linux/kernel.h>
14 #include <linux/pci.h>
18 #include <linux/ethtool.h>
19 #include <linux/i2c.h>
34 #define RD88F5181L_GE_NOR_BOOT_BASE 0xff000000
35 #define RD88F5181L_GE_NOR_BOOT_SIZE SZ_16M
45 static struct resource rd88f5181l_ge_nor_boot_flash_resource = {
53 .name =
"physmap-flash",
56 .platform_data = &rd88f5181l_ge_nor_boot_flash_data,
59 .resource = &rd88f5181l_ge_nor_boot_flash_resource,
66 static unsigned int rd88f5181l_ge_mpp_modes[]
__initdata = {
96 static struct dsa_chip_data rd88f5181l_ge_switch_chip_data = {
97 .port_names[0] =
"lan2",
98 .port_names[1] =
"lan1",
99 .port_names[2] =
"wan",
100 .port_names[3] =
"cpu",
101 .port_names[5] =
"lan4",
102 .port_names[7] =
"lan3",
107 .chip = &rd88f5181l_ge_switch_chip_data,
114 static void __init rd88f5181l_ge_init(
void)
165 .map_irq = rd88f5181l_ge_pci_map_irq,
168 static int __init rd88f5181l_ge_pci_init(
void)
170 if (machine_is_rd88f5181l_ge()) {
179 MACHINE_START(RD88F5181L_GE,
"Marvell Orion-VoIP GE Reference Design")
181 .atag_offset = 0x100,
182 .init_machine = rd88f5181l_ge_init,