summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
Commit message (Collapse)AuthorAgeFilesLines
* ramips: UPF_FIXED_TYPE must be set for the serial portsjuhosg2011-03-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: define GPIO chips separately for each SoCsjuhosg2011-03-277-84/+152
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move GPIO definitions into a separate header filejuhosg2011-03-275-63/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: setup GPIO chip functions on the flyjuhosg2011-03-271-12/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use separate register base for GPIO chipsjuhosg2011-03-271-8/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix dir-300 mtd layoutjuhosg2011-03-271-1/+1
| | | | | | 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
* ramips: enable MDIO on the HW550-3G boardjuhosg2011-03-271-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add sysupgrade and status LED support for HW550-3Gjuhosg2011-03-271-10/+10
| | | | | | | | | 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
* ramips: initial board support for Aztech HW550-3Gjuhosg2011-03-134-0/+149
| | | | | | | | | | | 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
* ramips: register watchdog device on the rt288x boardsjuhosg2011-01-262-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add watchdog device for RT288xjuhosg2011-01-263-0/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: register watchdog device on the rt305x boardsjuhosg2011-01-267-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add watchdog device for RT305xjuhosg2011-01-263-0/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add watchdog driverjuhosg2011-01-261-0/+355
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: implement clock API for RT288xjuhosg2011-01-267-45/+152
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: implement clock API for RT305Xjuhosg2011-01-267-41/+148
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove extern and __init from function prototypesjuhosg2011-01-267-31/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: fix typosjuhosg2011-01-041-2/+2
| | | | | | Patch from #8577. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: handle OTG interrupt on the RT305x SoCjuhosg2010-12-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add more definitionsjuhosg2010-12-081-3/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set pvidjuhosg2010-12-081-1/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set vlan membersjuhosg2010-12-081-1/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set VLAN idjuhosg2010-12-081-2/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} functionjuhosg2010-12-081-0/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use rt305x_esw prefix in function namesjuhosg2010-12-081-33/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: coding style cleanupjuhosg2010-12-081-24/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add defines for switch register offsetsjuhosg2010-12-081-24/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: don't touch GPIO_PURPOSE registerjuhosg2010-12-081-20/+0
| | | | | | It must have been set by the board initialization code. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: convert it to be a platform driverjuhosg2010-12-085-13/+134
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: move hardware initialization into a separate functionjuhosg2010-12-081-8/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use a private structure for the functionsjuhosg2010-12-081-36/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use tabs instead of spaces in mach-f5d8235-v2.cjuhosg2010-12-051-43/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Belkin F5D8235 v2 boardjuhosg2010-11-244-0/+149
| | | | | | | | 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
* ramips: Use NET_IP_ALIGN instead of hardcoding 2juhosg2010-11-241-4/+5
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: DMA map the correct RX skb sizejuhosg2010-11-241-2/+2
| | | | | | | | | | The skb_reserve call prior to DMA mapping the RX skb reduced the skb data len by 2. To not allow DMA to write behind the skb we should pass the correct skb data len to the device. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Don't trigger BUG_ON due to skb allocation failurejuhosg2010-11-241-16/+19
| | | | | | | | | Instead just drop the rx'ed frame silently and reuse the already available buffer. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Remove unnecessary skb_putjuhosg2010-11-241-1/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Allow ethernet interface to be taken down and up againjuhosg2010-10-051-0/+4
| | | | | | | | | | Taking the ramips ethernet interface down and up again resulted in the driver not receiving any frames anymore. Fix this by correctly disabling interrupts in the hw on ifdown. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Ralink RT305x, support for Prolink PWH2004 (Abocom5205)juhosg2010-09-274-0/+111
| | | | | | | | | | | 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
* ramips: add support for Sparklan WCR-150GN boardjuhosg2010-08-154-0/+76
| | | | | | | | | | | 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
* ramips: register ethernet device on the RT-N15juhosg2010-07-151-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add generic ethernet device for the RT288xjuhosg2010-07-152-0/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mdio_cfg configuration for the ethernet driverjuhosg2010-07-153-0/+86
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix bridging in ramips ethernet driverjuhosg2010-07-131-1/+1
| | | | | | | | | | | | | | | | | | | Bridging between the ramips ethernet driver and rt2800pci was somewhat broken. Frames received by the ethernet driver which were passed to the wifi driver for transmission were sometimes corrupted or sent out with huge delays. The reason for this is the missing assignment of skb->tail in the ramips ethernet driver's rx path resulting in skb->tail pointing to skb->data. Since skb->tail is used by mac80211 it writes into skb->data which messes up the frames content. Fix this by using skb_put to correctly set skb->len and skb->tail. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: protect GPIO register access with a spinlockjuhosg2010-07-131-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.blogic2010-05-311-1/+1
| | | | | | | | Signed-off-by: Helmut Schaa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: merge slab patchjuhosg2010-05-282-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use COMMAND_LINE_SIZE directlyjuhosg2010-05-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttonsjuhosg2010-04-225-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: annotate device register function prototypes with __initjuhosg2010-03-311-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73