/* * Ubiquiti RouterStation support * * Copyright (C) 2008 Gabor Juhos * Copyright (C) 2008 Imre Kaloz * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ #include #include #include #include #include #include #include static struct spi_board_info routerstation_spi_info[] = { { .bus_num = 0, .chip_select = 0, .max_speed_hz = 25000000, .modalias = "m25p80", } }; static void __init routerstation_setup(void) { ar71xx_add_device_spi(NULL, routerstation_spi_info, ARRAY_SIZE(routerstation_spi_info)); } MIPS_MACHINE(AR71XX_MACH_UBNT_RS, "Ubiquiti RouterStation", routerstation_setup);