aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: reorder patchesJohn Crispin2015-08-1711-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46659
* ramips: Fix MT7621 pinmux bits for uart3, uart2, mdioJohn Crispin2015-08-171-9/+26
| | | | | | | | | | | The MT7621 uses a 2 bit wide configuration of the sdhci, spi, mdio, pcie, wdt, uart2 and uart3 in the GPIO_MODE register. It was correctly done for sdhci, spi, pcie and wdt, The same has to be done for uart3, uart2 and mdio. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46645
* ramips: Fix amount of MT7621 pins controlled by spi groupJohn Crispin2015-08-171-1/+1
| | | | | | | | | The PINS conntrolled by the SPI bits in the GPIO_MODE register is always 7 and not 8 for nand mode. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46644
* ramips: Fix uart2/uart3 pinmux order on MT7621John Crispin2015-08-171-4/+4
| | | | | | | | | The uart3 setting in GPIO_MODE register is before the uart2 setting. Also don't mix uart2 and uart3 function/groups. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46643
* ramips: remove unnecessary LED declaration for WT1520 in diag.shJohn Crispin2015-08-171-3/+0
| | | | | | | | This device doesn't have defined LEDs in its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46635
* ramips: fix indentation, case statements structure and optimize ↵John Crispin2015-08-171-220/+170
| | | | | | | | | | | | | | | | | | | base-files/etc/board.d/02_network The following patch: * fixes wrong indentation * combines together boards with same configuration * removes unnecessary spaces * removes empty lines after ";;" and uses only "|\" (for consistency) * orders boards alphabetically in base-files/etc/board.d/02_network script. One bug was left untouched: freestation5 board is listed twice in case statement, in ramips_setup_macs(). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46634
* ramips: be consistent with case statement in base-files/lib/upgrade/platform.shJohn Crispin2015-08-171-117/+117
| | | | | | | | Always use "|\" (without spaces) and keep boards in alphabetical order. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46633
* ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.shJohn Crispin2015-08-171-217/+217
| | | | | | | | | | | | | | | | | | This patch: * fixes various mistakes (leading spaces, wrong or missing model names) * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization) * sorts boards alphabetically in base-files/lib/ramips.sh script. Case statement was tested after above changes with simple script, which: * takes model string from dts{,i} file (model = "...") * provides this value as case input ($machine) * returns output ($name) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46632
* ramips: fix various mistakes in subtargets *.mk profilesJohn Crispin2015-08-1738-166/+141
| | | | | | | | | | | | | | | | This patch: * fixes wrong indentation * fixes wrong names and descriptions (ex. Dlink -> D-Link) * changes filenames to manufacturer names * moves oem/unknown manufacturers boards to misc.mk profiles * combines profiles for boards from the same manufacturers in one file (ex. Olimex) * fix profile files structure (keep the same convention as in other targets, ex. ar71xx) in various .mk profiles, in ramips target. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46631
* ramips: remove old code for Edimax BR-6524NJohn Crispin2015-08-174-25/+0
| | | | | | | | | It seems that support for Edimax BR-6524N was dropped long time ago (dts file for this device is missing). This patch removes remaining code. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46630
* ramips: fix 7Links PX-4885 dts{, i}, board, image and profile namesJohn Crispin2015-08-179-19/+17
| | | | | | | | The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from "PX4885" to "PX-4885" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46629
* ramips: fix Buffalo WMR-300 dts, board, image and profile namesJohn Crispin2015-08-176-10/+10
| | | | | | | | The following patch changes Buffalo WMR-300 dts filename, board, image and profile names from "WMR300" to "WMR-300" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46628
* ramips: fix Omnima models, images and profiles namesJohn Crispin2015-08-1710-47/+49
| | | | | | | | | | | | | | | | | | | | Official names for supported Omnima products are (as on website): * Omnima HPM * Omnima MiniEMBWiFi * Omnima MiniEMBPlug This patch changes: * board names * dts filenames * profile names * image filenames * LED names for Omnima devices, for consistency. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46627
* ramips: fix Edimax BR-6425 board nameJohn Crispin2015-08-173-3/+3
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46626
* ramips: fix Tenda W150M model nameJohn Crispin2015-08-171-2/+2
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46625
* ramips: fix Aigale Ai-BR100 dts and profile namesJohn Crispin2015-08-173-6/+6
| | | | | | | | The following patch changes dts filename and profile name for Aigale Ai-BR100 (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46624
* ramips: fix Olimex models, images and profiles namesJohn Crispin2015-08-177-25/+25
| | | | | | | | | | | | | | Official names for RT5350F based OLinuXino products are "RT5350F-OLinuXino{,-EVB}" as on official manufacturer website. The following patch: * changes board names from "olinuxino-rt5350f{,-evb}" to "rt5350f-olinuxino{,-evb}" * changes filenames of dts and profile files * changes image filenames for Olimex RT5350F-OLinuXino{,-EVB} devices. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46623
* ramips: fix Sitecom WL-341v3 board and image namesJohn Crispin2015-08-174-15/+15
| | | | | | | | | | | | | The following patch changes: * board name from "wl341v3" to "wl-341v3" * dts filename * LED names in dts file for Sitecom WL-341v3 device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46622
* ramips: fix Argus ATP-52B board and image namesJohn Crispin2015-08-175-9/+9
| | | | | | | | | | | | | | The following patch: * changes board name from "argus-atp52b" to "atp-52b" * changes dts filename * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Argus ATP-52B device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46621
* ramips: fix Belkin F7C027 image nameJohn Crispin2015-08-171-1/+1
| | | | | | | | This patch removes manufacturer from Belkin F7C027 image name ("belkinf7c027" -> "f7c027"). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46620
* ramips: fix Asus RT-N56U dts filenameJohn Crispin2015-08-172-2/+2
| | | | | | | | Other Asus RT-N dts files are named "RT-N..." (not "RTN..."), so use the same for RT-N56U. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46619
* ramips: fix UPVEL model namesJohn Crispin2015-08-173-4/+4
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46618
* ramips: fix Xiaomi MiWiFi Mini board, image and profile namesJohn Crispin2015-08-178-16/+16
| | | | | | | | | | | | | | The following patch: * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini" * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46617
* ramips: fix Asus RP-N53 and Lenovo Y1{, S} image namesJohn Crispin2015-08-171-3/+3
| | | | | | | | | | This patch: * fixes typo (rp_n53 -> rp-n53) in Asus RP-N53 image name * removes manufacturer from image names for Lenovo Y1{,S} devices Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46616
* ramips: fix Asus WL-330N{, 3G} boards namesJohn Crispin2015-08-173-6/+6
| | | | | | | | There are other Asus boards supported in ramips target, so use the same naming scheme for WL-330N{,3G} boards and their dts files. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46615
* ramips: fix Zbtlink ZBT-WR8305RT board nameJohn Crispin2015-08-177-17/+17
| | | | | | | | There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46614
* ramips: fix indentation and other mistakes in .dts{, i} filesJohn Crispin2015-08-17158-433/+1113
| | | | | | | | | | | | | | | | | | | | The following patch fixes: * wrong indentations * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1) * duplicate spacings * empty lines at end of files and after last child nodes * trailing and leading whitespace * unnecessary and commented-out code * missing empty lines between nodes and between properties and nodes * unnecessary empty lines between nodes properties [1] in .dts{,i} files, for ramips target. [1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46613
* kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-095-14/+14
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46570
* ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500Felix Fietkau2015-08-021-2/+2
| | | | | | | | This patch fixes weak radio signal reported by nikola.georgiev Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46545
* ramips: swap radio calibration data pointers for DIR-860LFelix Fietkau2015-07-261-2/+2
| | | | | | | | Fixes low 5 GHz tx power issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46497
* ramips: add additional uarts to mt7628.dtsiJohn Crispin2015-07-241-2/+63
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46477
* ramips: make sd driver depend on mt7688John Crispin2015-07-241-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46476
* ramips: add CD polling to sd driverJohn Crispin2015-07-241-12/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46475
* ramips: various mt7688 pinmux fixesJohn Crispin2015-07-241-11/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46474
* ramips: add subtarget for mt7688John Crispin2015-07-247-1/+254
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46473
* ramips: add clock strecthing support to i2c driverJohn Crispin2015-07-241-32/+35
| | | | | | | | fixes #19816 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46472
* ramips: add support for STORYLiNK SAP-G3200U3John Crispin2015-07-248-1/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN. It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons * ethernet switch and USB diag LEDs * UART * GPIOs Tested and not working: * LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?) * failsafe mode (known problem, needs workaround like other MTK based devices) More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3 Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46454
* ramips: enable mt76 by default for mt7621Felix Fietkau2015-07-184-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46410
* ramips: add support for Planex MZK-DP150NJohn Crispin2015-07-178-0/+135
| | | | | | | | | This patch add support for Planex MZK-DP150N. a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 46405
* ramips: added gpio spi refclk support for wrtnode boardJohn Crispin2015-07-141-1/+1
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46359
* ramips: added led support for wrtnode boardJohn Crispin2015-07-141-0/+12
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 46350
* ramips: adding support for OY-0001 Wireless RouterJohn Crispin2015-07-146-0/+139
| | | | | | | | | | Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng <2579131212@qq.com> SVN-Revision: 46349
* ramips: mt7620 ArcherC20i USB supportJohn Crispin2015-07-141-0/+8
| | | | | | | | | USB port of TP-Link Archer C20i does not work with trunk and CC. This patch adds two nodes (ehci and ohci) to the device tree enabling USB. Signed-off-by: Gunnar Thorburn <gunnar@thorburn.se> SVN-Revision: 46348
* ramips: collect rx related members to fe_rx_ring structFelix Fietkau2015-07-103-58/+69
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 46295
* ramips: add xmit_more supportFelix Fietkau2015-07-102-20/+33
| | | | | | | | | | | | | | | use pktgen to verify on rt3662. can improve transmit rate. pkt_size 1500 burst 1 : 807Mb/sec burst 8 : 984Mb/sec pkt_size 60 burst 1 : 57Mb/sec burst 8 : 236Mb/sec Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 46294
* ramips: a5-v11 board fix power led blinking at bootJohn Crispin2015-07-071-0/+6
| | | | | | Signed-off-by: Konrad Kotowicz <skoti1@go2.pl> SVN-Revision: 46215
* ramips: fix typo in WHR1166D mtd size variableJohn Crispin2015-07-071-1/+1
| | | | | | | | Fix typo in WHR1166D mtd size variable Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> SVN-Revision: 46214
* kernel: update 3.18 to 3.18.17Jonas Gorski2015-06-301-5/+3
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46150
* ramips: refresh patch with USB_MT7621_XHCI_PLATFORMRafał Miłecki2015-06-211-8/+6
| | | | | | | Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable") Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46085
* ralink: add support for mt7621 switch countersJohn Crispin2015-06-181-1/+187
| | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> SVN-Revision: 46050