Commit graph

1005 commits

Author SHA1 Message Date
John Crispin
d4cc995c53 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
SVN-Revision: 42619
2014-09-19 11:07:08 +00:00
John Crispin
4ef1237545 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42617
2014-09-19 10:52:37 +00:00
John Crispin
17cf9c4593 ralink: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42481
2014-09-12 06:50:46 +00:00
Luka Perkov
02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
2014-09-10 21:40:19 +00:00
John Crispin
4662c3b847 ralink: dwc_otg->dwc2
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42446
2014-09-08 17:33:16 +00:00
John Crispin
bdba024c7b ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42445
2014-09-08 17:32:52 +00:00
John Crispin
4d96ccd87a target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42335
2014-08-30 09:59:18 +00:00
John Crispin
d1f8b9bd76 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42321
2014-08-28 09:19:56 +00:00
John Crispin
24a6617585 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42315
2014-08-28 06:05:36 +00:00
John Crispin
1349ebb5ba ralink: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42305
2014-08-26 13:12:12 +00:00
John Crispin
0c14bea523 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42293
2014-08-25 16:31:13 +00:00
John Crispin
d3d9d55cde ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42292
2014-08-25 16:31:09 +00:00
John Crispin
843fc45e27 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42291
2014-08-25 16:31:05 +00:00
John Crispin
ca737049d2 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42290
2014-08-25 16:31:01 +00:00
John Crispin
3d00a1109e ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42289
2014-08-25 16:30:57 +00:00
John Crispin
fdc41e2fd7 ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42277
2014-08-25 06:35:46 +00:00
John Crispin
a3fd3dc796 ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42276
2014-08-25 06:35:42 +00:00
John Crispin
e9e519a147 ramips: fix OMNI-PLUG.dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42232
2014-08-21 06:41:27 +00:00
John Crispin
ff3ea02772 ramips: add omni plug leds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42201
2014-08-18 16:09:21 +00:00
John Crispin
d04cab8dfc ramips: Add support for Omnima MiniPlug
This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>

SVN-Revision: 42200
2014-08-18 16:06:48 +00:00
John Crispin
be6bbc7975 ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42194
2014-08-18 13:10:04 +00:00
John Crispin
60bf96e3a0 ralink: clean up HAME profiles, remove unnecessary packages.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42192
2014-08-18 13:09:46 +00:00
John Crispin
a62e8bd145 ramips: add mpr-a1 to default profile
Add hame mpr-a1 to default ramips profile.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42191
2014-08-18 13:09:43 +00:00
John Crispin
bb9a23aca2 ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 42190
2014-08-18 13:09:39 +00:00
John Crispin
0fc4383d69 ramips: make use of the new board detection layer
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42186
2014-08-18 13:09:20 +00:00
John Crispin
3a9752bbd2 ramips: add a workaround to fix failsafe on RT5350
Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 42179
2014-08-18 13:08:52 +00:00
John Crispin
f80312613d ramips: enable additional GPIOs on HAME MPR-A1
According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 42178
2014-08-18 13:08:48 +00:00
John Crispin
bf1e92f526 ralink: add back the gpio_export_named() patch for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42176
2014-08-18 13:08:33 +00:00
John Crispin
bc67bd2295 ralink: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42040
2014-08-07 14:41:19 +00:00
John Crispin
997ca19fd2 ralink: revert r37163
https://dev.openwrt.org/ticket/17071

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42036
2014-08-07 12:38:20 +00:00
John Crispin
17b8d9c976 ramips: add profile for easyacc wizard8800
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41986
2014-08-03 14:31:18 +00:00
John Crispin
058a5c85ef firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 41962
2014-08-03 11:13:58 +00:00
John Crispin
04e4ff282a ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>

SVN-Revision: 41961
2014-08-03 11:13:52 +00:00
John Crispin
21845cb45d ramips: Add support for VoCore
This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41939
2014-08-01 20:51:24 +00:00
John Crispin
7d9bac5247 ramips: Add support for SPI_CS1 pinmux
This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41938
2014-08-01 20:51:14 +00:00
John Crispin
9efd7ebd34 ramips: add support for easyacc wizard8800
Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de>

SVN-Revision: 41936
2014-08-01 11:19:50 +00:00
John Crispin
c6674722b9 ramips: Fix LEDs on the Kingston MLW221
LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41933
2014-08-01 11:19:39 +00:00
John Crispin
6fb04ff871 ramips: correct typo ubsphy -> usbphy
This appears to be a typo.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41859
2014-07-28 15:26:36 +00:00
John Crispin
6f6dc62ca2 ramips: fix mode switch gpio for AsiaRF AWM eval board
Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41858
2014-07-28 15:26:32 +00:00
John Crispin
636f2b83e6 ramips: add ethernet macaddr to dts for AWM003-EVB
Follows the pattern of http://patchwork.openwrt.org/patch/5970/

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41857
2014-07-28 15:26:23 +00:00
John Crispin
5b4abf87d7 ramips: add support for Kingston MLW221
This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41841
2014-07-26 20:36:22 +00:00
John Crispin
b77e92e020 ramips: ethernet mac cleanup
Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41839
2014-07-26 20:36:09 +00:00
John Crispin
443aee86bf ramips: fix vlan configuration for asiarf avm003
The earlier r41797 change was missing this part, to enable the right
vlan configuration.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41838
2014-07-26 20:36:01 +00:00
John Crispin
08fb5fb326 ramips: fix sysupgrade for asiarf awm003
Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41837
2014-07-26 20:35:46 +00:00
John Crispin
0b5b8de818 ramips: fix gpio mapping on MZK-750DHP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41811
2014-07-23 07:49:54 +00:00
John Crispin
e5d4e5dee3 ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 41810
2014-07-23 07:49:50 +00:00
John Crispin
2c356c4bb7 ramips: add a profile for AWM003
same as AWM002 but with 64mb RAM

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41797
2014-07-22 09:58:21 +00:00
John Crispin
ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
John Crispin
4d22954db0 ramips: fix mac address partitions on ASL-26555
ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41768
2014-07-20 17:30:28 +00:00
John Crispin
f44d3f9980 ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41680
2014-07-17 10:55:31 +00:00