summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* 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-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 cleanupjuhosg2012-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-3Gjuhosg2012-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 H1juhosg2012-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 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-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 supportblogic2012-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.blogic2012-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 kernelblogic2012-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 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-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 Routerjuhosg2012-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-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: rt3883: add device registration code for the SPI controllerjuhosg2012-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 pinsjuhosg2012-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 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-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 boardjuhosg2012-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 RT3352juhosg2012-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 RT3352juhosg2012-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 RT3352juhosg2012-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.0juhosg2012-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 ↵jow2012-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 boardsjuhosg2012-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 boardjuhosg2012-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 detectionjuhosg2012-03-123-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: rewrite SoC detectionjuhosg2012-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_*juhosg2012-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 variablesjuhosg2012-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 thatjuhosg2012-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 RT3xxxjuhosg2012-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 boardjuhosg2012-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+juhosg2012-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 visiblejuhosg2012-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 mapsjuhosg2012-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 mapsjuhosg2012-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 routerjuhosg2012-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-N56Ujuhosg2012-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 visiblejuhosg2012-02-182-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: change eeprom file namejuhosg2012-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 basisjuhosg2012-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.hjuhosg2012-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 boardjuhosg2012-02-163-3/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: fix PCI resource conflictjuhosg2012-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 swappingflorian2012-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 supportflorian2012-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 supportjuhosg2012-02-151-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: enable PCI on the RT-N56U boardjuhosg2012-02-141-0/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73