summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ralink: move ethernet driver to files/John Crispin2014-11-061-0/+27
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43194
* move files to files-3.7John Crispin2013-04-03117-11122/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36161
* ramips: add kernel support for the Upvel UR-326N4G boardGabor Juhos2013-03-114-0/+109
| | | | | | | | | [juhosg: add missing symbols to config-3.{7,8}] Patch from: Дмитрий Лебедев <lebedev@trendnet.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35970
* ramips: indicate support for ALL5003Gabor Juhos2013-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> SVN-Revision: 35851
* ramips: remove port_power_off field from ehci_platform_dataGabor Juhos2013-02-252-2/+0
| | | | | | | | It is removed in 3.8. Also add a revert patch for 3.7. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35799
* ramips: rt3883: add kernel support for the Omnima EMB HPM boardGabor Juhos2013-02-024-0/+164
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35466
* ramips: add kernel support for the Edimax BR-6425 boardGabor Juhos2013-02-024-0/+85
| | | | | | | Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35462
* ramips: add kernel support for the Tenda 3G300MGabor Juhos2013-01-194-0/+133
| | | | | | | | | | | | 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> SVN-Revision: 35244
* adds support for Edimax BR-6524NJohn Crispin2013-01-064-0/+81
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> SVN-Revision: 35020
* rt5350 switch support fixJohn Crispin2013-01-021-1/+5
| | | | | | | | RT5350 frame engine need reset frame engine and embedded switch together. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> SVN-Revision: 34969
* ramips: rt305x: fix garbled name in mach-mzk-w300nh2.cGabor Juhos2012-12-301-1/+1
| | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34934
* ramips: rt305x: add kernel support for the Planex MZK-W300NH2 RouterGabor Juhos2012-12-294-0/+101
| | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 34925
* ramips: rt305x: add kernel support for AirLive AIR3GIIGabor Juhos2012-12-294-1/+104
| | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 34922
* ramips: unify eeprom file name for the built-in wireless MACGabor Juhos2012-12-223-3/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34860
* ramips: rt3883: fix build errorGabor Juhos2012-12-221-1/+1
| | | | | | | | The cpuport_cfg field has been renamed to port0_cfg. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34859
* ramips: convert to use {e,o}hci-platform driverGabor Juhos2012-12-224-139/+98
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34843
* ramips: Add USB support for DAP-1350 platform.Gabor Juhos2012-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> SVN-Revision: 34811
* add support for Hauppauge BroadwayJohn Crispin2012-12-104-0/+94
| | | | | | | | | | | 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> SVN-Revision: 34595
* ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 RouterGabor Juhos2012-11-294-0/+90
| | | | | | | | | | | | | | | | | | 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> SVN-Revision: 34405
* ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350Gabor Juhos2012-11-202-0/+10
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34270
* ramips: add HAVE_CLK to Kconfig on all ramips socsJohn Crispin2012-11-071-0/+3
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 34110
* ramips: enable USB power on the DIR-645Gabor Juhos2012-11-051-0/+5
| | | | | | | | Closes #12422. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34082
* ramips: use correct key code for the RFKILL switch on the TEW-691GRGabor Juhos2012-10-261-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33943
* ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GRGabor Juhos2012-10-192-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33864
* ramips: rt3883: add initial support for the TRENDnet TEW-691GR boardGabor Juhos2012-10-184-1/+110
| | | | | | | | No wireless support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33850
* ramips: rt3883: add initial support for TRENDnet TEW-692GR boardGabor Juhos2012-10-184-0/+156
| | | | | | | | No wireless support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33846
* ramips: rt3883: add inital support for the DIR-645 boardGabor Juhos2012-10-184-1/+155
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33843
* ramips: add memory detection code for RT5350Gabor Juhos2012-09-272-1/+44
| | | | SVN-Revision: 33571
* ramips: allow to use custom code for memory size detectionGabor Juhos2012-09-272-6/+13
| | | | SVN-Revision: 33570
* D-Link DAP-1350; Avoid bricking esw configJohn Crispin2012-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> SVN-Revision: 33411
* ramips/rt305x: add initial support for Rt5350 SoCGabor Juhos2012-09-125-2/+41
| | | | | | | | | | | | | 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> SVN-Revision: 33381
* ramips: make built-in switch transparent for ALL0256N and ALL5002Gabor Juhos2012-08-292-2/+2
| | | | | | | | This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 33305
* ramips: Add support for 8devices Carambola dev board.Gabor Juhos2012-08-294-0/+49
| | | | | | | | | | | | 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> SVN-Revision: 33303
* ramips: Minor ramips_esw.c cleanupGabor Juhos2012-08-293-3/+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> SVN-Revision: 33301
* ramips: add board alias for the ALL0239-3GGabor Juhos2012-08-172-0/+4
| | | | | | | | | | | | | | 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> SVN-Revision: 33206
* ramips: add support for D-Link DIR-615 H1Gabor Juhos2012-08-174-1/+120
| | | | | | | | | | | | 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> SVN-Revision: 33205
* ramips: rename rt3352 usb platform devicesGabor Juhos2012-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> SVN-Revision: 33145
* ramips: add D-Link DIR-620 A1 supportGabor Juhos2012-08-122-3/+52
| | | | | | | | | | | | 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> SVN-Revision: 33142
* D-Link DAP-1350 initial supportJohn Crispin2012-07-244-0/+101
| | | | | | | | | The initial support for the D-Link DAP-1350. USB related functionality is not tested. Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> SVN-Revision: 32821
* enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.John Crispin2012-07-241-0/+2
| | | | | | | | Hope that this works, didn't have a chance to actually test it... Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32815
* add support for Allnet ALL5002 to kernelJohn Crispin2012-07-244-0/+70
| | | | | | | | support ALL5002 in ramips/rt305x branch of the kernel. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 32813
* uart_clk on Rt3352F is always 40MHzJohn Crispin2012-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> SVN-Revision: 32812
* ramips: rt305x: add support for Edimax 3G-6200NGabor Juhos2012-07-124-0/+93
| | | | | | | | Support for Edimax 3G-6200N router with USB. Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com> SVN-Revision: 32682
* ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA RouterGabor Juhos2012-06-194-0/+80
| | | | | | | | | | 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> SVN-Revision: 32450
* ramips: WAN LED for D-Link DIR-300-B1Gabor Juhos2012-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] SVN-Revision: 31989
* ramips: rt3883: add device registration code for the SPI controllerGabor Juhos2012-05-272-0/+26
| | | | SVN-Revision: 31922
* ramips: rt3883: fix GPIO reservation for the SPI pinsGabor Juhos2012-05-271-1/+1
| | | | SVN-Revision: 31920
* ramips: rt305x: remove superfluous controller_data assignmentGabor Juhos2012-05-271-1/+0
| | | | SVN-Revision: 31919
* ramips: W306R V2.0 - GPIO and Network fixesGabor Juhos2012-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> SVN-Revision: 31557
* ramips: rt305x: add support for the UR-336UN boardGabor Juhos2012-04-234-0/+99
| | | | | | Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> SVN-Revision: 31451