aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ramips: rt305x: add support for the Asus WL-330N3G boardGabor Juhos2012-04-234-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 31450
* ramips: rt305x: add OHCI/EHCI registration code for RT3352Gabor Juhos2012-04-212-5/+161
| | | | SVN-Revision: 31402
* ramips: rt305x: fix CPU clock detection on RT3352Gabor Juhos2012-04-212-12/+36
| | | | SVN-Revision: 31401
* ramips: rt305x: use different memory size setup for RT3352Gabor Juhos2012-04-212-2/+13
| | | | SVN-Revision: 31400
* ramips: rt305x: add initial support for Tenda W306R V2.0Gabor Juhos2012-04-214-0/+79
| | | | | | | | | | 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] SVN-Revision: 31396
* ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN ↵Jo-Philipp Wich2012-03-294-0/+39
| | | | | | network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation SVN-Revision: 31144
* ramips: rt305x: build image for the DIR-615 rev D boardsGabor Juhos2012-03-272-0/+4
| | | | | | Patch from #10105. SVN-Revision: 31101
* ramips: rt305x: add add support for the Asus WL-330N boardGabor Juhos2012-03-274-0/+101
| | | | | | | | | [juhosg: reorder several lines in order to keep things sorted alphabetically] Signed-off-by: Frédéric Leroy <fredo@starox.org> SVN-Revision: 31100
* ramips: add RT3350 detectionGabor Juhos2012-03-123-0/+12
| | | | SVN-Revision: 30900
* ramips: rt305x: rewrite SoC detectionGabor Juhos2012-03-113-5/+60
| | | | SVN-Revision: 30890
* ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*Gabor Juhos2012-03-113-14/+14
| | | | SVN-Revision: 30889
* ramips: replace RALINK_SOC_* macros with global variablesGabor Juhos2012-03-1110-64/+30
| | | | SVN-Revision: 30888
* ramips: introduce ramips_soc_prom_init and move SoC detection into thatGabor Juhos2012-03-1111-21/+18
| | | | SVN-Revision: 30887
* ramips: allow to use DSP ASE on RT3xxxGabor Juhos2012-03-112-2/+2
| | | | SVN-Revision: 30879
* ramips: add support for unbranded XDX-RN502J boardGabor Juhos2012-03-044-0/+86
| | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 30809
* ramips: board support for Asus RT-N10+Gabor Juhos2012-03-044-0/+81
| | | | | | | | | [juhosg: fix indentation in platform scripts, and remove debug messages from 06_set_iface_mac] Signed-off-by: Patrick van Staveren <trick@vanstaveren.us> SVN-Revision: 30808
* ramips: rt3883: make rt3883_nand_data visibleGabor Juhos2012-02-192-7/+4
| | | | SVN-Revision: 30655
* ramips: rt305x: nuke built-in MTD partition mapsGabor Juhos2012-02-1923-821/+0
| | | | SVN-Revision: 30650