11 #include <linux/kernel.h>
14 #include <linux/pci.h>
18 #include <linux/ethtool.h>
33 #define RD88F5181L_FXO_NOR_BOOT_BASE 0xff800000
34 #define RD88F5181L_FXO_NOR_BOOT_SIZE SZ_8M
44 static struct resource rd88f5181l_fxo_nor_boot_flash_resource = {
52 .name =
"physmap-flash",
55 .platform_data = &rd88f5181l_fxo_nor_boot_flash_data,
58 .resource = &rd88f5181l_fxo_nor_boot_flash_resource,
65 static unsigned int rd88f5181l_fxo_mpp_modes[]
__initdata = {
95 static struct dsa_chip_data rd88f5181l_fxo_switch_chip_data = {
96 .port_names[0] =
"lan2",
97 .port_names[1] =
"lan1",
98 .port_names[2] =
"wan",
99 .port_names[3] =
"cpu",
100 .port_names[5] =
"lan4",
101 .port_names[7] =
"lan3",
106 .chip = &rd88f5181l_fxo_switch_chip_data,
109 static void __init rd88f5181l_fxo_init(
void)
153 .map_irq = rd88f5181l_fxo_pci_map_irq,
156 static int __init rd88f5181l_fxo_pci_init(
void)
158 if (machine_is_rd88f5181l_fxo()) {
167 MACHINE_START(RD88F5181L_FXO,
"Marvell Orion-VoIP FXO Reference Design")
169 .atag_offset = 0x100,
170 .init_machine = rd88f5181l_fxo_init,