Commit graph

68 commits

Author SHA1 Message Date
Gabor Juhos
7b1e525b56 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 29604
2011-12-23 14:27:16 +00:00
Gabor Juhos
2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos
0c38d36488 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Gabor Juhos
ee8077f0fe ramips: Support for NexAira BC2
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]

Signed-off-by: Adam Porter <porter.adam at gmail.com>

SVN-Revision: 28571
2011-10-24 21:49:36 +00:00
Gabor Juhos
72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
2011-08-22 20:41:49 +00:00
Gabor Juhos
d50494f3bb ramips: sort RAMIPS_MACH_* defines
SVN-Revision: 28075
2011-08-22 20:41:45 +00:00
Gabor Juhos
9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
2011-08-19 15:55:10 +00:00
Gabor Juhos
a3c7e71ae1 ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27991
2011-08-15 14:11:45 +00:00
Gabor Juhos
1ebcf03789 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27990
2011-08-15 14:11:43 +00:00
Gabor Juhos
ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos
437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos
57122e7ccc ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
d5a7e2f5c1 ramips: initial board support for MOFI3500-3GN
This patch adds initial board support for the MoFi Network MOFI3500-3GN
(Ralink RT3052F SoC, 8MB flash, 32MB ram, wireless N, USB-OTG).  This
router is basically the NA version of the HW550-3G.

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26466
2011-04-04 08:43:07 +00:00
Gabor Juhos
9ef4785364 ramips: define GPIO chips separately for each SoCs
SVN-Revision: 26326
2011-03-27 19:19:59 +00:00
Gabor Juhos
37d6d88869 ramips: move GPIO definitions into a separate header file
SVN-Revision: 26325
2011-03-27 19:19:57 +00:00
Gabor Juhos
23518bb2e4 ramips: initial board support for Aztech HW550-3G
This patch adds initial support for the Aztech HW550-3G (Ralink
RT3052f SoC, 8MB flash, 32MB dram).  Ethernet is not working yet.
Wireless appears to work fine.  USB does not work yet (as with other
Ralink boards).

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26123
2011-03-13 16:34:52 +00:00
Gabor Juhos
2b50cecea6 ramips: add watchdog device for RT288x
SVN-Revision: 25129
2011-01-26 20:48:50 +00:00
Gabor Juhos
42e36cf732 ramips: add watchdog device for RT305x
SVN-Revision: 25127
2011-01-26 20:48:46 +00:00
Gabor Juhos
f38367fcb4 ramips: implement clock API for RT288x
SVN-Revision: 25125
2011-01-26 20:48:39 +00:00
Gabor Juhos
b0ffa70248 ramips: implement clock API for RT305X
SVN-Revision: 25124
2011-01-26 20:48:35 +00:00
Gabor Juhos
f9e74383a9 ramips: remove extern and __init from function prototypes
SVN-Revision: 25123
2011-01-26 20:48:33 +00:00
Gabor Juhos
3b9a6adc7d ramips: ramips_esw: convert it to be a platform driver
SVN-Revision: 24331
2010-12-08 10:15:00 +00:00
Gabor Juhos
21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24126
2010-11-24 10:01:23 +00:00
Gabor Juhos
e5b081335e ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)
The attached patch adds a preliminary support for Prolink PWH2004 board
(Ralink RT305x based). LAN and flash appear to work. However, the USB
port and WLAN I have not managed to activate properly yet, but that
problem appears to be present with other rt305x targets as well(?).

Signed-off-by: Esa Hyytia <esa at netlab.tkk.fi>

SVN-Revision: 23129
2010-09-27 14:43:34 +00:00
Gabor Juhos
462dabc7f5 ramips: add support for Sparklan WCR-150GN board
This patch adds support for Sparklan WCR-150GN board.
Network configuration should be tweaked to make it work fully. The
reason it's not in this patch is that ramips target should be modified
to support different /etc/config/network files for different boards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22658
2010-08-15 09:43:07 +00:00
Gabor Juhos
0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
John Crispin
971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
John Crispin
3ad14f304e Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20596
2010-03-30 10:06:05 +00:00
Gabor Juhos
72b08b729a ramips_eth: pass sys_clk via platform_data
SVN-Revision: 19462
2010-01-31 17:56:30 +00:00
Gabor Juhos
f9b053e87f ramips: fix wrong base addresses for the RT288x
SVN-Revision: 19409
2010-01-30 15:25:41 +00:00
Gabor Juhos
8448caa6ad ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
SVN-Revision: 19408
2010-01-30 15:25:36 +00:00
Gabor Juhos
94c9590e91 ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
SVN-Revision: 19407
2010-01-30 15:25:33 +00:00
Gabor Juhos
9327f02b7b ramips: add common gpio-buttons device
SVN-Revision: 19404
2010-01-30 15:25:20 +00:00
Gabor Juhos
af9f40e60d ramips: update mips multi-machine stuff
SVN-Revision: 19400
2010-01-30 15:25:03 +00:00
Jo-Philipp Wich
6351d88e29 add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen <joonas.lahtinen@gmail.com>
SVN-Revision: 19321
2010-01-24 23:31:49 +00:00
Gabor Juhos
bc59e3da51 ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
SVN-Revision: 18176
2009-10-26 17:17:51 +00:00
Gabor Juhos
5dd653a6bd ramips: use definitions from rt305x_regs, and nuke the duplicated ones
SVN-Revision: 18175
2009-10-26 17:17:48 +00:00
Gabor Juhos
c170980c4f ramips: move ramips_eth_platform_data into a separate file
SVN-Revision: 18174
2009-10-26 17:17:45 +00:00
Gabor Juhos
69a3298ab5 ramips: use resource to pass irq and base address to the ethernet driver
SVN-Revision: 18166
2009-10-26 17:17:18 +00:00
John Crispin
f1ad6d3768 fixes licenses
SVN-Revision: 18152
2009-10-25 17:41:01 +00:00
Gabor Juhos
984fe7992a ramips: nuke net_device stats from the private data of the ethernet driver
SVN-Revision: 18147
2009-10-25 09:37:30 +00:00
John Crispin
c23f92244c fixes dma hangups in eth
SVN-Revision: 18139
2009-10-25 00:11:08 +00:00
John Crispin
eff75d868b make ethernet a platform device
SVN-Revision: 18135
2009-10-24 20:58:41 +00:00
John Crispin
5c399c6f20 missing define to make mach for fonera20n work
SVN-Revision: 18134
2009-10-24 20:57:59 +00:00
John Crispin
e4e4aa90d3 adds mach type for fonera20n
SVN-Revision: 18132
2009-10-24 20:55:36 +00:00
John Crispin
d95163658c adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
SVN-Revision: 18128
2009-10-23 16:51:51 +00:00
Gabor Juhos
279c5dad25 ramips: add preliminary support for the DIR-300 revB board
SVN-Revision: 18058
2009-10-18 08:48:07 +00:00
Gabor Juhos
0f51ed2723 ramips: fix RT2880_PCI_BASE definition
SVN-Revision: 17917
2009-10-05 18:44:16 +00:00