Felix Fietkau
b3f2d3d01b
ramips: use mediatek,mtd-eeprom instead of ralink for mt76
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43282
2014-11-16 12:26:47 +00:00
Felix Fietkau
02c319c27a
ramips: fix default config breakage on whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43281
2014-11-16 11:39:19 +00:00
John Crispin
c073bf6bdf
ralink: few updates tot he sdhci probe code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43275
2014-11-15 14:35:32 +00:00
John Crispin
ce1c580efb
ralink: make the sdhci module build again
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43274
2014-11-14 18:51:41 +00:00
John Crispin
7cc72e4b93
ralink: dont define pm_poweroff
...
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43254
2014-11-14 16:53:40 +00:00
John Crispin
be23eaa8c3
ralink: fix bank detection in mt7621 gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43253
2014-11-14 16:53:34 +00:00
John Crispin
6d4282086d
ralink: enable the proper drivers in the mt7621 config
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43252
2014-11-14 16:53:29 +00:00
John Crispin
0767ee848a
ralink: fix broken pinmux function naming inside mt7621.c
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43251
2014-11-14 16:53:21 +00:00
John Crispin
8cde8a05c9
ralink: update sdhci driver
...
the new driver handles newer SoCs
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43250
2014-11-14 16:53:15 +00:00
John Crispin
66463a5b5d
ralink: update pcie driver to load ranges from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43249
2014-11-14 16:53:07 +00:00
John Crispin
7963782b86
ralink: add a new global ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43248
2014-11-14 16:53:01 +00:00
John Crispin
caa29dea2c
ralink: update ethernet driver to use new ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43247
2014-11-14 16:52:52 +00:00
John Crispin
bf8bb5b611
ralink: fix the 10mbit bug on mt7621
...
a missing "val =" caused the AN bit in the phy0 reg to be flushed.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43246
2014-11-14 16:52:47 +00:00
John Crispin
194ca6127e
ralink: improve mt7530 support
...
the SDK does a bit of extra init that we did not do yet when using an external mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43245
2014-11-14 16:52:42 +00:00
John Crispin
0371dabc13
ralink: add support for WSR-600/1166
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43244
2014-11-14 16:52:36 +00:00
John Crispin
062828aee0
ralink: mt7621 has a different base addr for PVID
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43243
2014-11-14 16:52:30 +00:00
John Crispin
938e1e03fb
ralink: drop some unused code from pci-mt7620a
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43242
2014-11-14 16:52:25 +00:00
John Crispin
bfcdc8711c
ralink: fix up dts for mt7621 eval board
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43238
2014-11-12 14:55:00 +00:00
John Crispin
86e3315ece
ralink: add support for mt7621 ethernet
...
somehow all switch ports still come up as 10mbit.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43237
2014-11-12 14:54:50 +00:00
John Crispin
45814d150a
ralink: more mt7530 fixes
...
make 1166 wan port work. this broke due to the esw_polling bug
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43236
2014-11-11 11:46:16 +00:00
John Crispin
e399931376
ralink: fix mdio polling of external phys if only 1 phy exists
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43235
2014-11-11 11:46:09 +00:00
John Crispin
6623feb572
ralink: remove IC plus phy driver
...
this driver confuses some boards
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43234
2014-11-11 11:46:02 +00:00
Luka Perkov
da53ac677f
ralink: DCS-930: enable sound
...
Camera has microphone; in order to use it by default enable sound support.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43232
2014-11-11 00:08:05 +00:00
Luka Perkov
494c6e7f6e
ralink: update DCS-930 dts
...
* read MAC address from factory partition
* remove port defines since there is only one port (most likely C/P error)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43231
2014-11-11 00:05:14 +00:00
Felix Fietkau
9e98d559f6
ramips: fix initramfs image build handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43219
2014-11-08 15:40:17 +00:00
Felix Fietkau
455ba77b6a
ramips: add eeprom data for 802.11ac wlan on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43218
2014-11-08 14:15:49 +00:00
Felix Fietkau
29f71d384f
ramips: add missing size/address-cells to device tree include files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43217
2014-11-08 14:15:44 +00:00
John Crispin
604a3e5134
ralink: fix a regression that broke pcie on mt7621
...
i accidentally dropped 2 lines while adding mt7628 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43216
2014-11-08 13:45:26 +00:00
Felix Fietkau
07754ac297
ramips: enable sysupgrade for whr-600d, whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43213
2014-11-08 12:18:58 +00:00
John Crispin
503a34ca50
ralink: fix the compat string for mt7620a pci
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43211
2014-11-08 12:12:05 +00:00
John Crispin
89f74722b7
ralink: assign default ranges inside the pci driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43207
2014-11-07 10:51:08 +00:00
John Crispin
9007e2244f
ralink: mt7628 does not actually need this fix for the ethernet driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43206
2014-11-07 10:51:00 +00:00
John Crispin
c32ad22e40
ralink: improve r43200
...
r43200 tries to detect if the fixup is needed or not. control the behaviour via
OF instead and disable unused ports.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43201
2014-11-06 12:19:53 +00:00
John Crispin
0cc0ba2b3a
ralink: only apply ephy1 fixup if the phy is present
...
this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43200
2014-11-06 11:11:44 +00:00
John Crispin
78b6222851
ralink: tweak e1700 dts file
...
the current driver code wont know which mt7530 to apply the llllw setting to.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43199
2014-11-06 09:31:45 +00:00
John Crispin
c5954fc510
ralink: make pci driver handle mt7628
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43198
2014-11-06 09:31:37 +00:00
John Crispin
cadf517107
ralink: add support for mt7628
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43197
2014-11-06 09:31:31 +00:00
John Crispin
f8404aaf9e
ralink: add mt7628 support to the ethernet driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43196
2014-11-06 09:31:19 +00:00
John Crispin
26504289df
ralink: cleanup ethernet Makefile/Kconfig
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43195
2014-11-06 09:31:09 +00:00
John Crispin
d524fe46fd
ralink: move ethernet driver to files/
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43194
2014-11-06 09:31:03 +00:00
Imre Kaloz
d738d22bf8
add support for the Linksys E1700
...
SVN-Revision: 43186
2014-11-05 14:37:13 +00:00
John Crispin
b25b58a96a
ralink: add pci bidge node to mt7620a dts file
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43172
2014-11-03 20:20:46 +00:00
John Crispin
cc142739f2
ralink: fix wan port on whr-1166
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43171
2014-11-03 20:20:40 +00:00
John Crispin
cc5194cf03
ramips: add support for Airlink101 AR670W
...
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.
Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 43153
2014-11-03 08:00:13 +00:00
John Crispin
2f30ba5328
ralink: make sure a mii_bus is loaded before accesing its state
...
this caused a crash on boot
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43120
2014-10-30 10:10:57 +00:00
John Crispin
0b64dca49d
ralink: load mt7530 driver on the 3 buffalo units
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43119
2014-10-30 10:10:51 +00:00
John Crispin
0b19244498
ralink: mt7530 - force wan port up
...
some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43117
2014-10-30 08:44:00 +00:00
John Crispin
38692d14f2
ralink: fix mt7530 for newer silicon revisions
...
latest mt7530 silicon seems to have a different phy id.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43113
2014-10-30 08:07:49 +00:00
John Crispin
152d692a1f
ramips: improve ralink ethernet driver
...
Change list:
* add tx scatter gather function.
* add software rx vlan offload to let GRO work.
* add jumbo frame support. because use build_skb so max MTU is 3812.
* enable hardware tx vlan.
* enable GRO and remove LRO. because it can improve performance and can work on forwarding.
* enable/fix tx padding function.
* let napi handle tx clean up.
* support ethtool operation. now support message level, hardware status and coalesce.
* ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it.
Notes:
* build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a.
* TCP NAT performance improve. test with netperf.
- rt2880(gigabit) from 5x to 12x Mbps.
- rt3x5x from 6x to 94 Mbps.
- rt5250 from 5x to 8x Mbps.
- rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame.
- mt7620 still 94Mbps.
* TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43108
2014-10-29 19:43:59 +00:00
John Crispin
c0bf47232a
ralink: fix switch config on mt7530 evb
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43105
2014-10-29 18:51:02 +00:00