1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 12:35:20 +02:00
Commit Graph

235 Commits

Author SHA1 Message Date
juhosg
a6ff6c1f36 ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:55 +00:00
juhosg
bf5f735641 ramips: rt305x: register the dwc_otg device on the relevant boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:52 +00:00
juhosg
5f106959f5 ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:51 +00:00
juhosg
ef3572bede ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:45 +00:00
juhosg
8b59aa7786 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:43 +00:00
juhosg
ea7f49d513 ramips: rt305x: add support for the Netcore NW718 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:32 +00:00
juhosg
793574f571 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:30 +00:00
juhosg
1e8820b752 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:27 +00:00
juhosg
501b3f6109 ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:25 +00:00
juhosg
2ba08ae27e ramips: rt305x: add support for the DIR-600 B1,B2 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:24 +00:00
juhosg
ce72e8dfb5 ramips: rt305x: change machine id for DIR-300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:22 +00:00
juhosg
8583804fdd ramips: rt305x: rename LEDs on the DIR-300-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:21 +00:00
juhosg
f8afb5e291 ramips: rt305x: sort Kconfig/Makefile entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 10:56:19 +00:00
nbd
de95026813 rtl8366: unify rtl8366s and rtl8366rb platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:40:23 +00:00
juhosg
f2053cb231 ramips: merge 2.6.39 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:10 +00:00
juhosg
88b8c44b87 ramips: specify eeprom file name on RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:02:00 +00:00
juhosg
556577659d ramips: specify eeprom file name on RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:59 +00:00
juhosg
cf68680797 ramips: use lowercase partiion names on the WCR150GN board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:53 +00:00
juhosg
db3a7e64a2 ramips: update partition map for DIR-300-B1
Patch by Layne Edwards from #9252.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:49 +00:00
juhosg
f65d6ac4d9 ramips: consistently use 'firmware' name for sysupgrade partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:48 +00:00
juhosg
17d001231c ramips: remove unused include from the common GPIO code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:44 +00:00
juhosg
b1476a05c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:41 +00:00
juhosg
d786690857 ramips: set cp0_perfcount_irq for RT305X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 15:01:40 +00:00
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
juhosg
1bd851b509 ramips: update mips multi-machine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 15:25:03 +00:00
jow
de12d253e8 [ramips] add initial support for the WZR-AGL300NH - patch by Joonas Lahtinen <joonas.lahtinen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-24 23:31:49 +00:00
juhosg
a1509a7028 ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 15:15:41 +00:00
juhosg
4497cf8437 ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:51 +00:00
juhosg
d9c2b6a237 ramips: use definitions from rt305x_regs, and nuke the duplicated ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:48 +00:00
juhosg
e1a6f94b64 ramips: move ramips_eth_platform_data into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:45 +00:00
juhosg
487693fb19 ramips: use resource to pass irq and base address to the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-26 17:17:18 +00:00
blogic
59b7de5623 [ramips] fixes licenses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 17:41:01 +00:00
juhosg
f4feacd7f3 ramips: nuke net_device stats from the private data of the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:30 +00:00
juhosg
00b47a7a92 ramips: register ethernet device on the DIR-300 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 09:37:17 +00:00
juhosg
50ea4bdcbd ramips: change prom code to accept 'board=FOOBAR' from the command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:16 +00:00
juhosg
c26fdeeec1 ramips: modify {read,write}_config helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:14 +00:00
juhosg
e9aa516720 ramips: nuke config_access helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 07:10:11 +00:00
blogic
15585654b9 [ramips] fixes dma hangups in eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 00:11:08 +00:00
blogic
c75080b25f [ramips] make ethernet a platform device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:58:41 +00:00
blogic
d74086d291 [ramips] missing define to make mach for fonera20n work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:57:59 +00:00
blogic
ffb4faa1d1 [ramips] adds mach type for fonera20n
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 20:55:36 +00:00
blogic
4f3a09388f [ramips] adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-23 16:51:51 +00:00
juhosg
1c3b2e7595 ramips: add preliminary support for the DIR-300 revB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-18 08:48:07 +00:00
juhosg
8d6b2abeef ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:12 +00:00
juhosg
d5f23286fd ramips: remove obsolete 'pcibios_fixups' from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:10 +00:00
juhosg
1493a33c1b ramips: add rt2880_pci_get_cfgaddr helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:07 +00:00
juhosg
f00dfe552e ramips: use switch statement instead of multiple if-else-if in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:03 +00:00
juhosg
184510d772 ramips: protect rt288x pci config accesses with a spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:37:00 +00:00
juhosg
446ad267cb ramips: make rt2880_pci_base static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:57 +00:00
juhosg
33a352a75b ramips: define some magic values in the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:53 +00:00
juhosg
1ee264d2d6 ramips: add copyright header to the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-07 11:36:49 +00:00
juhosg
526e421dbd ramips: make {read,write}_config static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:24 +00:00
juhosg
ea714ecea2 ramips: convert 'config_access' function to void
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:22 +00:00
juhosg
25c15c7d1f ramips: add register access functions into the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:19 +00:00
juhosg
78b3674055 ramips: fix RT2880_PCI_BASE definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:16 +00:00
juhosg
4575c305f4 ramips: rt288x pci code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:13 +00:00
juhosg
1a03e70f16 ramips: cleanup coding-style of the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:10 +00:00
juhosg
a12620a97a ramips: merge ops-rt288x.c and rt288x_pci.h into pci-rt288x.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 18:44:06 +00:00
juhosg
a11e6e7e76 ramips: remove unneccesary ifdefs from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:16 +00:00
juhosg
dbe1e91788 ramips: remove unneccesary includes from the rt288x pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:13 +00:00
juhosg
19a1c70613 ramips: add Kbuild patch for the rt288x pci code, and fix invalid header file paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 09:06:10 +00:00
blogic
8fb9ab479d adds pci support for rt288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-04 19:53:17 +00:00
juhosg
50d18d7314 [ramips] add missing GPIO register offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 15:08:29 +00:00
juhosg
2f3b768d56 [ramips] add GPIO configuration feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-04 15:08:26 +00:00
juhosg
344d167a94 [ramips] fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 15:31:03 +00:00
juhosg
bc567c1019 [ramips] initial support for the AP-R3052-V22RW-2X2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 15:31:00 +00:00
juhosg
07244cdc4f [ramips] use common code for early_serial setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 12:44:17 +00:00
juhosg
926e540be2 [ramips] share prom code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 10:04:12 +00:00
juhosg
37bd623236 [ramips] initial support for Asus RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-01 19:34:27 +00:00
juhosg
eaea28dc97 [ramips] cache_line_size is 16 on rt288x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-01 19:34:24 +00:00
juhosg
fd6ac9f981 [ramips] remove unused *_MACH_GENERIC config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-01 19:34:21 +00:00
juhosg
be7ba8de2f [ramips] share machine registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 18:53:34 +00:00
juhosg
789ea10d57 [ramips] use common get_system_type function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 18:53:31 +00:00
juhosg
a43a8c9864 [ramips] share memory size detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 18:53:26 +00:00
juhosg
ab0a79714f [ramips] add common setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 18:53:22 +00:00
juhosg
88c82cdc9c [ramips] rt288x: readd RT2880_INTC_BASE definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 15:35:54 +00:00
juhosg
69d56315ef [ramips] rt288x: fix serial console
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 09:34:07 +00:00
juhosg
fa2d631359 [ramips] register GPIO LEDs on the WHR-G300N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 09:14:18 +00:00
juhosg
415c153649 [ramips] add common GPIO LED support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 09:14:14 +00:00
juhosg
7c54f57e7e [ramips] fix GPIOLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-31 08:29:19 +00:00
juhosg
4001a3f461 [ramips] rt288x: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 20:13:13 +00:00
juhosg
d1a72c03d1 [ramips] platform.h is rt288x specific, move it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 20:13:10 +00:00
juhosg
f355dbfa97 [ramips] rt288x: generic machine code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 19:55:55 +00:00
juhosg
77604bf7c7 [ramips] header cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 19:55:53 +00:00
juhosg
60da4b4a94 [ramips] share common INTC code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 19:15:58 +00:00
juhosg
b887a6d197 [ramips] initial support for RT288x/RT305x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-30 19:15:51 +00:00