summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt305x
Commit message (Collapse)AuthorAgeFilesLines
* [ramips] move files to files-3.7blogic2013-04-0353-5122/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Upvel UR-326N4G boardjuhosg2013-03-113-0/+108
| | | | | | | | | [juhosg: add missing symbols to config-3.{7,8}] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: indicate support for ALL5003juhosg2013-03-031-1/+1
| | | | | | | | | | | add ALL5003 to board description in mach-all5002.c adapt detection in user-space accordingly (no functional changes) Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove port_power_off field from ehci_platform_datajuhosg2013-02-251-1/+0
| | | | | | | | It is removed in 3.8. Also add a revert patch for 3.7. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Edimax BR-6425 boardjuhosg2013-02-023-0/+84
| | | | | | | Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Tenda 3G300Mjuhosg2013-01-193-0/+132
| | | | | | | | | | | | Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons and seven leds. Factory image should be used to flash from original firmware. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] rt5350 switch support fixblogic2013-01-021-1/+5
| | | | | | | | RT5350 frame engine need reset frame engine and embedded switch together. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: fix garbled name in mach-mzk-w300nh2.cjuhosg2012-12-301-1/+1
| | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Routerjuhosg2012-12-293-0/+100
| | | | | | | | | | | | | | | | | | | | This is a Japanese market router, for details check http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB RAM, but base OpenWRT install worked fine for days without issues. Even an image with built-in Luci worked, but don't expect smooth experience, due to the lack of RAM. Wifi was not extensively tested, but seems it is working. GPIO LEDs & buttons, factory flash image and switch config are confirmed working. Tested against revision 34882 + this patch. [juhosg: move user-space support and image generation changes into separate patches] Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for AirLive AIR3GIIjuhosg2012-12-293-0/+100
| | | | | | | | | | | | | | | | | | | | | | | AirLive AIR3GII is Ralink RT5350F based device with 100Mbps switch, USB port, 4MB flash and 32MB ram. Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade Does not work: wifi (chip RT5350), reset button [ 13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected. [ 13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device. Other problem: LAN leds is reverse (lights when not cable connected and vice versa) [juhosg: move user-space support and image generation changes into separate patches] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: unify eeprom file name for the built-in wireless MACjuhosg2012-12-221-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: convert to use {e,o}hci-platform driverjuhosg2012-12-221-46/+49
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add USB support for DAP-1350 platform.juhosg2012-12-201-0/+1
| | | | | | | | | It seems to work as intended, but only lightly tested. Patch-by: Bryan Steele <brynet@gmail.com> SIgned-off-by: Gabor Juhos <juhsog@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add support for Hauppauge Broadwayblogic2012-12-103-0/+93
| | | | | | | | | | | This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway platform. It doesn't deal with the TV tuner or transcoder at this point, but the core functionality is working (Ethernet, wireless, USB, buttons, LEDs, etc). Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Routerjuhosg2012-11-293-0/+89
| | | | | | | | | | | | | | | | | | The work has been backported from openwrt-dreambox with some modifications & code cleanup. * updated config-3.3 * updated config-3.6 * renamed rt-n13 to rt-n13u * fixed mach-rt-n13u.c [juhosg: move user-space support and image generation into separate patches] Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350juhosg2012-11-201-0/+8
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add memory detection code for RT5350juhosg2012-09-271-1/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* D-Link DAP-1350; Avoid bricking esw configblogic2012-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | This is a patch to connect eth0.1 (lan) to the only ethernet connector available. D-Link DAP-1350 goes bricked with AA 12.09-beta. This is because the current esw configuration for the board connects eth0.2 (wan) to the *ONE and ONLY* ethernet connector available, preventing initial access to the board through 192.168.1.1 on eth0.1 after flashing, effectively bricking the board. There are things that should be done to make this board really useful, but for AA 12.09, this one liner is indispensable. Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips/rt305x: add initial support for Rt5350 SoCjuhosg2012-09-123-2/+26
| | | | | | | | | | | | | Somehow detecting the RAM size in common/setup.c doesn't work here, it always detects 64M and then crashes on devices with less RAM. Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how it could be, for now I use the mem=32M kernel parameter to get stuff working. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make built-in switch transparent for ALL0256N and ALL5002juhosg2012-08-292-2/+2
| | | | | | | | This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add support for 8devices Carambola dev board.juhosg2012-08-293-0/+48
| | | | | | | | | | | | Add support for 8devices Carambola dev board. The Carambola is a small RT3050-based development board with two ethernet ports, on-board chip antenna, usb and plenty of accessible gpio ports, sold by 8devices. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Minor ramips_esw.c cleanupjuhosg2012-08-292-2/+15
| | | | | | | | | | | | Stop handling VLAN setup in the kernel. Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for WL-351 and add some extra comments. Also removes the en_vlan per-port flag that isn't very useful really, it now is only controlled by the global enable_vlan flag. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add board alias for the ALL0239-3Gjuhosg2012-08-171-0/+3
| | | | | | | | | | | | | | Generate image for the ALL0239-3G which can be flashed through the chipset-vendor SDK based firmware's web-interface and bootloader. The bootloader seems to ignore uImage checksum errors, but does complain about them once the 0xDEADC0DE was replaced by an actual JFFS2 page. I'm working on implementing fixtrx for uImage in the mtd package to solve this. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for D-Link DIR-615 H1juhosg2012-08-173-1/+119
| | | | | | | | | | | | rt2x00 still needs some patching as the radio doesn't come to life. Installation via webflash. [juhosg: fix whitespace issues, remove rt305x_register_usb from machine setup because the board has no USB port] Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rename rt3352 usb platform devicesjuhosg2012-08-121-2/+2
| | | | | | | | | In order to get OHCI/EHCI working on the Rt3352, the platform device must be named so rt3883-?hci will recognize it. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add D-Link DIR-620 A1 supportjuhosg2012-08-121-3/+51
| | | | | | | | | | | | Full functionality runtime tested, installation via OEM web-interface requires a follow-up patch. Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing bits (including the antiparallel wps led). Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] D-Link DAP-1350 initial supportblogic2012-07-243-0/+100
| | | | | | | | | The initial support for the D-Link DAP-1350. USB related functionality is not tested. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add support for Allnet ALL5002 to kernelblogic2012-07-243-0/+67
| | | | | | | | support ALL5002 in ramips/rt305x branch of the kernel. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] uart_clk on Rt3352F is always 40MHzblogic2012-07-241-1/+1
| | | | | | | | | Currently, sys_clk/10 is used which is just wrong. cpu_clk/10 would work for systems with 400MHz CPU clock. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for Edimax 3G-6200Njuhosg2012-07-123-0/+92
| | | | | | | | Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Routerjuhosg2012-06-193-0/+79
| | | | | | | | | | This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router. The platform is based on Ralink RT3052. http://wiki.openwrt.org/toh/petatel/psr-680w Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: WAN LED for D-Link DIR-300-B1juhosg2012-05-291-0/+14
| | | | | | | | | | | | | | | | | | Add led devices for D-Link DIR-300-B1 WAN LED. Note that the GPIO state is also ANDed with the esw switch port 4 LED state, which is why I've set the amber LED to default-on. Closes: https://dev.openwrt.org/ticket/11326 Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> [ juhosg: - fix comment style in mach-dir-300-revb.c, - remove the PPP specific LED setup, not everyone uses a PPP connection on the WAN interface] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: remove superfluous controller_data assignmentjuhosg2012-05-271-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: W306R V2.0 - GPIO and Network fixesjuhosg2012-05-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by removing a line(default is correct), and reversed the Lan/wan layout LLLLW to WLLLL. Added: image/Makefile now builds -factory.bin files. I am unsure of the accepted way to change the makefile but the name of the image needs to be 'linkn Kernel Image' in order to be accepted by the OEM firmware. Known issue: eth0 (internal switch i think has mac address: 00:11:22:33:44:55 but i think it should be same as the lan). Known issue: Pressing the reset button has no noticable effect, i would expect the router to boot failsafe if being pressed on boot, reboot if short press and reset all to default if long press. [juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead] Signed-off-by: David Pearce <david_18051985@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the UR-336UN boardjuhosg2012-04-233-0/+98
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Asus WL-330N3G boardjuhosg2012-04-233-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the ASUS WL-330N3G Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led. The bi-color led is driven by 2 gpio. I don't know how to handle this, so I simply made 2 leds : one red, one blue. But the red light takes precedence over the blue one according to the chart below. r = led is red b = led is blue 0 = led is off xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness initial state action led gpio state r0 b0 r0->r1 r r0 b0 r0 b0 b0->b1 b r0 b1 r1 b0 r1->r0 0 r0 b0 r1 b0 b0->b1 r r1 *b1* r1 b1 r1->r0 b r0 b1 r1 b1 b1->b0 r r1 b0 r0 b1 r0->r1 r r1 *b1* r0 b1 b1->b0 0 r0 r0 Signed-off-by: Frédéric Leroy <fredo@starox.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add OHCI/EHCI registration code for RT3352juhosg2012-04-211-5/+127
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: fix CPU clock detection on RT3352juhosg2012-04-211-12/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: use different memory size setup for RT3352juhosg2012-04-211-2/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add initial support for Tenda W306R V2.0juhosg2012-04-213-0/+78
| | | | | | | | | | More device info at: http://wiki.openwrt.org/toh/tenda/w306r Signed-off-by: David Pearce <David_18051985@hotmail.com.au> [juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages from the profile, change broken GPIO number] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN ↵jow2012-03-293-0/+38
| | | | | | network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: build image for the DIR-615 rev D boardsjuhosg2012-03-271-0/+3
| | | | | | Patch from #10105. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add add support for the Asus WL-330N boardjuhosg2012-03-273-0/+100
| | | | | | | | | [juhosg: reorder several lines in order to keep things sorted alphabetically] Signed-off-by: Frédéric Leroy <fredo@starox.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add RT3350 detectionjuhosg2012-03-121-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: rewrite SoC detectionjuhosg2012-03-111-5/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*juhosg2012-03-112-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: replace RALINK_SOC_* macros with global variablesjuhosg2012-03-111-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: introduce ramips_soc_prom_init and move SoC detection into thatjuhosg2012-03-112-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for unbranded XDX-RN502J boardjuhosg2012-03-043-0/+85
| | | | | | | | | | | | | | | | | | | | | | | This patch adds support for routers using a PCB marked XDX-RN502J V2.0, such as some unbranded routers like this: http://www.mediafire.com/?8acv87h6snn9fj6 http://www.mediafire.com/?do7xonw7scor4kn http://www.mediafire.com/?1ad49zvx3e7jyix http://www.mediafire.com/?i46cqiq66maa197 http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html some reports also state the Aceex 22Y uses the same board. more information can be found in the following openwrt forum post https://forum.openwrt.org/viewtopic.php?id=34878 [juhosg: fix checkpatch warnings, use the GENERIC_4M template] Signed-off-by: bruno schwander <bruno@tinkerbox.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: board support for Asus RT-N10+juhosg2012-03-043-0/+80
| | | | | | | | | [juhosg: fix indentation in platform scripts, and remove debug messages from 06_set_iface_mac] Signed-off-by: Patrick van Staveren <trick@vanstaveren.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30808 3c298f89-4303-0410-b956-a3cf2f4a3e73