aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32821 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32815 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32813 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> 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 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: add device registration code for the SPI controllerGabor Juhos2012-05-272-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: fix GPIO reservation for the SPI pinsGabor Juhos2012-05-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: remove superfluous controller_data assignmentGabor Juhos2012-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 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the UR-336UN boardGabor Juhos2012-04-234-0/+99
| | | | | | 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 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add OHCI/EHCI registration code for RT3352Gabor Juhos2012-04-212-5/+161
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: fix CPU clock detection on RT3352Gabor Juhos2012-04-212-12/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: use different memory size setup for RT3352Gabor Juhos2012-04-212-2/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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] 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 ↵Jo-Philipp Wich2012-03-294-0/+39
| | | | | | 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 boardsGabor Juhos2012-03-272-0/+4
| | | | | | 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 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add RT3350 detectionGabor Juhos2012-03-123-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: rewrite SoC detectionGabor Juhos2012-03-113-5/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*Gabor Juhos2012-03-113-14/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: replace RALINK_SOC_* macros with global variablesGabor Juhos2012-03-1110-64/+30
| | | | 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 thatGabor Juhos2012-03-1111-21/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to use DSP ASE on RT3xxxGabor Juhos2012-03-112-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: make rt3883_nand_data visibleGabor Juhos2012-02-192-7/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: nuke built-in MTD partition mapsGabor Juhos2012-02-1923-821/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: nuke built-in MTD partition mapsGabor Juhos2012-02-194-146/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G routerGabor Juhos2012-02-194-0/+119
| | | | | | | | | | | | | [juhosg: - don't switch back to 2.6.39 - update config-3.2 - change machine id to SL-R7205 - reorder case entries in platform scripts - remove button hotplug script] Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: rt3883: disable the 2GHz band on the RT-N56UGabor Juhos2012-02-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: make rt3883_wlan_data visibleGabor Juhos2012-02-182-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: change eeprom file nameGabor Juhos2012-02-161-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: select HW_HAS_PCI on per-board basisGabor Juhos2012-02-163-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: remove a stray character from rt3883.hGabor Juhos2012-02-161-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: don't register the PCI controller on each boardGabor Juhos2012-02-163-3/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: fix PCI resource conflictGabor Juhos2012-02-151-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] correct PCI IO/Mem resource swappingFlorian Fainelli2012-02-151-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add Ralink V11ST-FE board supportFlorian Fainelli2012-02-154-0/+113
| | | | | | | | | | This board is equipped with: - 4MB of NOR Flash - 32MB of SDRAM - IC+ IP175C switch - one Mini-PCI slot git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: raeth: add PHYLIB supportGabor Juhos2012-02-151-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73