1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 14:49:22 +02:00
Commit Graph

112 Commits

Author SHA1 Message Date
juhosg
bb8dd176cc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:43:07 +00:00
juhosg
3caf3c48cf ramips: UPF_FIXED_TYPE must be set for the serial ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:20:03 +00:00
juhosg
6513a4df99 ramips: define GPIO chips separately for each SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:59 +00:00
juhosg
5045f0c4da ramips: move GPIO definitions into a separate header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:57 +00:00
juhosg
8e5950efc5 ramips: setup GPIO chip functions on the fly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:51 +00:00
juhosg
bcee5bee58 ramips: use separate register base for GPIO chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:48 +00:00
juhosg
95e40f5581 ramips: fix dir-300 mtd layout
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:45 +00:00
juhosg
2e12b6720f ramips: enable MDIO on the HW550-3G board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:41 +00:00
juhosg
4d41fe6013 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 19:19:40 +00:00
juhosg
8cde29c6b1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 16:34:52 +00:00
juhosg
68f33c556b ramips: register watchdog device on the rt288x boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:52 +00:00
juhosg
78f0155856 ramips: add watchdog device for RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:50 +00:00
juhosg
f019ef96de ramips: register watchdog device on the rt305x boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:47 +00:00
juhosg
a86c456862 ramips: add watchdog device for RT305x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:46 +00:00
juhosg
e388e46ebb ramips: implement clock API for RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:39 +00:00
juhosg
86f7e2834f ramips: implement clock API for RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:35 +00:00
juhosg
b2dc6c86ee ramips: remove extern and __init from function prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:48:33 +00:00
juhosg
779b986847 ramips: handle OTG interrupt on the RT305x SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-14 08:00:25 +00:00
juhosg
bc4cb1b39f ramips: ramips_esw: convert it to be a platform driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:00 +00:00
juhosg
8b65736401 ramips: use tabs instead of spaces in mach-f5d8235-v2.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:30 +00:00
juhosg
ed0adccdff ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 10:01:23 +00:00
juhosg
1a883422c6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:43:34 +00:00
juhosg
ef0f04cf25 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 09:43:07 +00:00
juhosg
7b74a280aa ramips: register ethernet device on the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:46 +00:00
juhosg
4c2865eceb ramips: add generic ethernet device for the RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:43 +00:00
juhosg
12e2f4aadf ramips: add mdio_cfg configuration for the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 19:45:40 +00:00
juhosg
675367fe81 ramips: protect GPIO register access with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
blogic
18cc5a3810 Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 11:57:32 +00:00
juhosg
47cea815ee ramips: merge slab patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:28 +00:00
juhosg
3ab0d99857 ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:24 +00:00
juhosg
3e39b51297 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 09:25:37 +00:00
juhosg
67ab18e38a ramips: annotate device register function prototypes with __init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:28 +00:00
juhosg
b7a96a32ea ramips: register wifi device for the RT2880 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:23 +00:00
juhosg
c03509e141 ramips: add wifi device for the RT2880 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:20 +00:00
juhosg
c44ee422c3 ramips: register wifi device on the rt305x based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:10 +00:00
blogic
0f85365209 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 12:04:05 +00:00
blogic
37bcda62c0 [ramips] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 10:06:05 +00:00
juhosg
1630830019 ramips_eth: pass sys_clk via platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 17:56:30 +00:00
juhosg
ad3d89cc5a ramips: register gpio buttons on the Fonera 2.0N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:52 +00:00
juhosg
2531198c61 ramips: register gpio buttons on the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:49 +00:00
juhosg
29eddc2b3b ramips: register gpio buttons on the V22RW-2x2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:47 +00:00
juhosg
bbd6ea8213 ramips: register gpio buttons on the DIR-300 revB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:44 +00:00
juhosg
d3b0cb38e0 ramips: fix wrong base addresses for the RT288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:41 +00:00
juhosg
ac199ca1c4 ramips: include 'linux/leds.h' from 'dev-gpio-leds.h'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:36 +00:00
juhosg
674066d500 ramips: rename dev_gpio_leds.h to dev-gpio-leds.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:33 +00:00
juhosg
38d8709940 ramips: cleanup WZR-AGL300NH board support file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:29 +00:00
juhosg
6f44525650 ramips: register gpio-buttons on the RT-N15 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:25 +00:00
juhosg
1284f885f3 ramips: add common gpio-buttons device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:20 +00:00
juhosg
c96f03b559 ramips: register rtl8366s device on the RT-N15 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:16 +00:00
juhosg
4b55dec3ed ramips: sanitize return value of ramips_gpio_get
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:08 +00:00