John Crispin
d04c4a311e
ralink: mt7621 is a 1004Kc
...
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43514
2014-12-03 20:22:42 +00:00
John Crispin
506cf51b53
ralink: fix pci reset patch
...
sorry, forgot to make target/update before commiting the last patch
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43374
2014-11-24 20:39:48 +00:00
John Crispin
41f9765acd
ralink: add proper reset of pci core
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43370
2014-11-24 19:12:35 +00:00
John Crispin
d93dc245e5
ralink: various fixes to the wm8960 setup code
...
still no sound but the codec is properly detected now, powers up and i can hear
noise on the speakers.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43305
2014-11-19 09:20:12 +00:00
John Crispin
989bfd815b
ralink: make the dmaengine driver compile under 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43304
2014-11-19 09:20:02 +00:00
John Crispin
e1f6d0dd0a
ralink: fix tx vlan offload and hardware status
...
hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43303
2014-11-19 09:19:57 +00:00
John Crispin
a5f562993e
ralink: support netconsole
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43302
2014-11-19 09:19:49 +00:00
John Crispin
9c5dfd9546
ralink: improve tx vlan offload
...
hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43301
2014-11-19 09:19:43 +00:00
John Crispin
510ff1f1b8
ralink: merge the mt7620a/n subtargets
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43300
2014-11-19 09:19:38 +00:00
John Crispin
752745a85a
ralink: set ralink_soc on mt7621
...
sdhci failed to init because of this
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43293
2014-11-17 21:58:30 +00:00
John Crispin
32d4348540
ralink: fix pcie reset
...
some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43292
2014-11-17 16:27:48 +00:00
Felix Fietkau
28b26fa603
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43283
2014-11-16 12:26:53 +00:00
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