Commit graph

117 commits

Author SHA1 Message Date
Gabor Juhos
f1cf43d468 ramips: update partition map for DIR-300-B1
Patch by Layne Edwards from #9252.

SVN-Revision: 27384
2011-07-03 15:01:49 +00:00
Gabor Juhos
641c87b127 ramips: consistently use 'firmware' name for sysupgrade partitions
SVN-Revision: 27383
2011-07-03 15:01:48 +00:00
Gabor Juhos
16ad91d69f ramips: remove unused include from the common GPIO code
SVN-Revision: 27381
2011-07-03 15:01:44 +00:00
Gabor Juhos
affb57ee27 ramips: update HW550-3G mtd partitions
This patch updates the mtd partitions for the Aztech HW550-3G

Signed-off-by: Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27378
2011-07-03 15:01:41 +00:00
Gabor Juhos
3099ffe414 ramips: set cp0_perfcount_irq for RT305X
SVN-Revision: 27377
2011-07-03 15:01:40 +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
1844ea6c7b ramips: UPF_FIXED_TYPE must be set for the serial ports
SVN-Revision: 26327
2011-03-27 19:20:03 +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
251a367fb4 ramips: setup GPIO chip functions on the fly
SVN-Revision: 26324
2011-03-27 19:19:51 +00:00
Gabor Juhos
b03f2dfcee ramips: use separate register base for GPIO chips
SVN-Revision: 26323
2011-03-27 19:19:48 +00:00
Gabor Juhos
8770359f17 ramips: fix dir-300 mtd layout
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 26322
2011-03-27 19:19:45 +00:00
Gabor Juhos
f599459abb ramips: enable MDIO on the HW550-3G board
SVN-Revision: 26321
2011-03-27 19:19:41 +00:00
Gabor Juhos
d701a72760 ramips: add sysupgrade and status LED support for HW550-3G
This patch adds sysupgrade and status LED support for the Aztech
HW550-3G. Some LED GPIOs were changed for clarity.

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

SVN-Revision: 26320
2011-03-27 19:19:40 +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
1c92e047c8 ramips: register watchdog device on the rt288x boards
SVN-Revision: 25130
2011-01-26 20:48: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
764aa3fe9c ramips: register watchdog device on the rt305x boards
SVN-Revision: 25128
2011-01-26 20:48:47 +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
f9898e30fb ramips: handle OTG interrupt on the RT305x SoC
SVN-Revision: 24560
2010-12-14 08:00:25 +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
47dd3b9fea ramips: use tabs instead of spaces in mach-f5d8235-v2.c
SVN-Revision: 24268
2010-12-05 20:14:30 +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
2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
2010-07-15 19:45:43 +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
Gabor Juhos
27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +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
Gabor Juhos
c24397b385 ramips: merge slab patch
SVN-Revision: 21607
2010-05-28 19:45:28 +00:00
Gabor Juhos
7ac21ada55 ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
2010-05-28 19:45:24 +00:00
Gabor Juhos
60cbdbb686 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
2010-04-22 09:25:37 +00:00
Gabor Juhos
a423c3abee ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos
a9f313edea ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos
9f3d673dbc ramips: add wifi device for the RT2880 as well
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos
1c25cfcde0 ramips: register wifi device on the rt305x based boards
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
John Crispin
6f4052abe0 The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20599
2010-03-30 12:04:05 +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
a4e85bbceb ramips: register gpio buttons on the Fonera 2.0N board
SVN-Revision: 19413
2010-01-30 15:25:52 +00:00
Gabor Juhos
8823482a02 ramips: register gpio buttons on the WHR-G300N board
SVN-Revision: 19412
2010-01-30 15:25:49 +00:00
Gabor Juhos
35f47a3654 ramips: register gpio buttons on the V22RW-2x2 board
SVN-Revision: 19411
2010-01-30 15:25:47 +00:00
Gabor Juhos
30a397fd5e ramips: register gpio buttons on the DIR-300 revB board
SVN-Revision: 19410
2010-01-30 15:25:44 +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