summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/ralink
AgeCommit message (Collapse)Author
2012-05-29ramips: WAN LED for D-Link DIR-300-B1juhosg
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
2012-05-27ramips: rt3883: add device registration code for the SPI controllerjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27ramips: rt3883: fix GPIO reservation for the SPI pinsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27ramips: rt305x: remove superfluous controller_data assignmentjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02ramips: W306R V2.0 - GPIO and Network fixesjuhosg
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
2012-04-23ramips: rt305x: add support for the UR-336UN boardjuhosg
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23ramips: rt305x: add support for the Asus WL-330N3G boardjuhosg
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
2012-04-21ramips: rt305x: add OHCI/EHCI registration code for RT3352juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21ramips: rt305x: fix CPU clock detection on RT3352juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21ramips: rt305x: use different memory size setup for RT3352juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21ramips: rt305x: add initial support for Tenda W306R V2.0juhosg
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
2012-03-29ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN ↵jow
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
2012-03-27ramips: rt305x: build image for the DIR-615 rev D boardsjuhosg
Patch from #10105. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27ramips: rt305x: add add support for the Asus WL-330N boardjuhosg
[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
2012-03-12ramips: add RT3350 detectionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11ramips: rt305x: rewrite SoC detectionjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11ramips: replace RALINK_SOC_* macros with global variablesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11ramips: introduce ramips_soc_prom_init and move SoC detection into thatjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04ramips: add support for unbranded XDX-RN502J boardjuhosg
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
2012-03-04ramips: board support for Asus RT-N10+juhosg
[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
2012-02-19ramips: rt3883: make rt3883_nand_data visiblejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19ramips: rt305x: nuke built-in MTD partition mapsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19ramips: rt288x: nuke built-in MTD partition mapsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G routerjuhosg
[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
2012-02-18ralink: rt3883: disable the 2GHz band on the RT-N56Ujuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18ramips: rt3883: make rt3883_wlan_data visiblejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16ramips: rt3883: change eeprom file namejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16ramips: select HW_HAS_PCI on per-board basisjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16ramips: rt288x: don't register the PCI controller on each boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15[ramips] add Ralink V11ST-FE board supportflorian
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
2012-02-14ramips: rt3883: enable PCI on the RT-N56U boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14ramips: rt3883: add PCI supportjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13ramips: add preliminary support for the Asus RT-N56U boardjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13ramips: add preliminary support for the RT3662/RT3883 SoCsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12ramips: rt288x: remove per-board physmap_flash_data instancesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12ramips: rt305x: remove per-board physmap_flash_data instancesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: remove yet another CONFIG_MTD_PARTITION ifdefjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: use gpio-keys-polled instead of gpio-buttonsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: add MIPS platform filejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: use uncached address in detect_mem_sizejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine filesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine filesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GNjuhosg
This patch adds support for the Accton WR6202 Mini 3G broadband router. Full details for this device are available at http://www.awbnetworks.com/products03.php?Fullkey=19. This device is identical to the SMCWBR11S-3GN: http://www.smc-asia.com/products03.php?Fullkey=210 It's also worth noting that this board has a GPIO line to control the power to the USB port. [juhosg: - fix checkpatch warnings, - reorder Kconfig entry, - merge the sysupgrade patch, - add GPL header] Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10ramips: fix compiler warning in prom.cjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31ramips: change vlan_config for the ALFA W502U boardjuhosg
This change moves the WAN port into a separate VLAN. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boardsjuhosg
This patch adds support for the Sitecom WL-341 v3 and other Sercomm IP1006RRv2 based boards for sysupgrade support and for the initial flash through pushbutton initiated recovery mode with the special partition table and fixes for the quirks and things required by the modified bootloader. There is a known bug, Wi-Fi is not working on my board probably because of the lack of RAM (the board only has 16MiB ram -- half of the normal amount for non rebadged versions, but there is an empty slot for another ram chip,) but I don't know for sure. The driver loads but hostapd fails to load so I think it's not related to the specific device except for the lack of RAM. Moreover, only 7 of the 11 onboard leds are confirmed working, it seems that one of the others is always on and the remaining ones are connected to the wireless card leds already recognized by OpenWrt [juhosg: reordered some parts in order to keep things sorted alphabetically] Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24ramips: add kernel support for ALL0256Njuhosg
Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23ramips: scripts updatesjuhosg
In this patch: * rename Argus leds to avoid underscores * rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235 * remove Belkin F5D8235 v1 status led defined as storage led (it was defined as usb led earlier, just in wrong place) - it should have router led as in v2 * add Argus, Sparklan and Belkin F5D8235 v2 status leds * add Belkin F5D8235 v1 and v2 usb leds * fix Belkin F5D8235 v2 network config generation and mac address axtraction * fix Sparklan board identification * add Sparklan usb led (this board doesn't have usb connector by default and the led is hidden also but if you are going to solder the connector then you'll see the led too) * add Sparklan network config generation and mac address extraction * fix empty string test in network script and... * ...sort case entries by the first board in the list Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28ramips: rt288x: add support for the Belkin F5D8235-4 v1 boardjuhosg
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73