diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-03-07 05:41:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-03-07 05:41:01 +0000 |
commit | 7c352366fa13ea1ae88311b5fc0f5cdbdeb47ace (patch) | |
tree | cb207b2c2566d26d6c12fa9b8e9a66bc76559429 /target/linux/ar71xx/files/arch/mips | |
parent | 0f949315bfe87571c82d2665e3a5e5087ad8f73a (diff) | |
download | upstream-7c352366fa13ea1ae88311b5fc0f5cdbdeb47ace.tar.gz upstream-7c352366fa13ea1ae88311b5fc0f5cdbdeb47ace.tar.bz2 upstream-7c352366fa13ea1ae88311b5fc0f5cdbdeb47ace.zip |
ar71xx: add preliminary support for the RouterBOARD 750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
4 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig b/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig index ee17f73fb7..8149a54b2f 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig @@ -113,6 +113,11 @@ config AR71XX_MACH_RB4XX select AR71XX_DEV_USB default n +config AR71XX_MACH_RB750 + bool "MikroTik RouterBOARD 750 support" + select AR71XX_DEV_AP91_ETH + default n + config AR71XX_MACH_WNDR3700 bool "NETGEAR WNDR3700 board support" select AR71XX_DEV_M25P80 diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile b/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile index 2547ef7e41..ba348e3a7b 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/Makefile @@ -37,6 +37,7 @@ obj-$(CONFIG_AR71XX_MACH_MZK_W300NH) += mach-mzk-w300nh.o obj-$(CONFIG_AR71XX_MACH_PB42) += mach-pb42.o obj-$(CONFIG_AR71XX_MACH_PB44) += mach-pb44.o obj-$(CONFIG_AR71XX_MACH_RB4XX) += mach-rb4xx.o +obj-$(CONFIG_AR71XX_MACH_RB750) += mach-rb750.o obj-$(CONFIG_AR71XX_MACH_TEW_632BRP) += mach-tew-632brp.o obj-$(CONFIG_AR71XX_MACH_TL_WR741ND) += mach-tl-wr741nd.o obj-$(CONFIG_AR71XX_MACH_TL_WR841N_V1) += mach-tl-wr841n.o diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c new file mode 100644 index 0000000000..dd481d9eb9 --- /dev/null +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb750.c @@ -0,0 +1,22 @@ +/* + * MikroTik RouterBOARD 750 support + * + * Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org> + * + * 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 <asm/mach-ar71xx/ar71xx.h> + +#include "machtype.h" +#include "dev-ap91-eth.h" + +static void __init rb750_setup(void) +{ + ap91_eth_init(NULL); +} + +MIPS_MACHINE(AR71XX_MACH_RB_750, "750i", "MikroTik RouterBOARD 750", + rb750_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h b/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h index b97832ff1f..419cbd412a 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h @@ -29,6 +29,7 @@ enum ar71xx_mach_type { AR71XX_MACH_RB_450, /* MikroTik RouterBOARD 450 */ AR71XX_MACH_RB_450G, /* MikroTik RouterBOARD 450G */ AR71XX_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */ + AR71XX_MACH_RB_750, /* MikroTik RouterBOARD 750 */ AR71XX_MACH_PB42, /* Atheros PB42 */ AR71XX_MACH_PB44, /* Atheros PB44 */ AR71XX_MACH_MZK_W04NU, /* Planex MZK-W04NU */ |