Commit graph

1094 commits

Author SHA1 Message Date
John Crispin
0ffb7323d0 ralink: remove partitoon map from mt7621.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43720
2014-12-15 15:55:37 +00:00
John Crispin
019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
Rafał Miłecki
fbea00b031 ramips: update mtd patches to apply after changes from r43700
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43709
2014-12-15 09:10:43 +00:00
John Crispin
6f2b7567b8 ralink: drop old pinmux nodes from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43701
2014-12-14 08:57:16 +00:00
John Crispin
263070a2e7 ramips:Add support for Aigale Ai-BR100
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

SVN-Revision: 43681
2014-12-13 08:07:03 +00:00
John Crispin
6c4e7b22eb ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43667
2014-12-12 16:17:31 +00:00
John Crispin
b1f7a027da ralink: make uartf functional on AWM002
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43664
2014-12-12 16:17:03 +00:00
John Crispin
1ef2106725 ralink: mt7621 was missing a symbol that made the CC builder fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43629
2014-12-11 18:54:30 +00:00
Felix Fietkau
9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
2014-12-08 12:04:25 +00:00
John Crispin
8a123f6f66 ramips: generate factory images for Nexx devices
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 43541
2014-12-07 16:53:22 +00:00
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