John Crispin
999bf69541
ralink: fix mt7620 ohci 3.10
...
the ohci phy was not reset properly
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:01 +00:00
John Crispin
724cfaaddc
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:42 +00:00
John Crispin
c6ded2d17c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 20:51:14 +00:00
John Crispin
5e24285604
ramips: squelch mdio debugging info on rt2880 ethernet
...
Use pr_debug rather than pr_info since it is only relevant
for debugging.
Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 17:05:40 +00:00
John Crispin
e72b4b2291
ralink: make xhci platform depend on mt7621
...
this broke CONFIG_ALL builds for mt7620
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 14:32:43 +00:00
John Crispin
127563a4b3
ramips: set default vid of each vlan, so it won't need be set explicitly.
...
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:27 +00:00
John Crispin
6f2759acdf
ramips: enable wmac clock for mt7620
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:25 +00:00
John Crispin
275b1c0474
ralink: refresh kernel patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 13:47:50 +00:00
John Crispin
770d0b80da
ralink: Update MT7530 switch driver.
...
- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:14 +00:00
John Crispin
bbb8942009
ramips: RT-N56U support fixes and factory image creation
...
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:57:20 +00:00
John Crispin
3baabfda99
ramips: register clock device for the WMAC on RT3883
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:51:57 +00:00
John Crispin
b7957c0e8f
ralink: add port_init for rt2880
...
Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 18:01:08 +00:00
John Crispin
1cd890aa1b
Fix pinmux-rt2880
...
The last arg to FUNC() is count, not last pin.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:56 +00:00
John Crispin
3e74690bae
Add wmac clock for rt2880
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:53 +00:00
Gabor Juhos
0e6867db1e
kernel: update 3.10 to 3.10.36
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 11:59:07 +00:00
Felix Fietkau
08dc8d0477
ramips: fix regression from r39949 ( #15382 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 00:09:50 +00:00
John Crispin
34fd7651f8
ralink: fix chuncked-io module
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:03:55 +00:00
Gabor Juhos
4d85ad8010
kernel: update 3.10 to 3.10.34
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 09:28:33 +00:00
John Crispin
de51ae36be
ralink: refresh patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-18 19:21:56 +00:00
John Crispin
d6143b716d
ralink: add missing clk_set_rate()
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-12 19:33:01 +00:00
Gabor Juhos
a73d292127
kernel: update 3.10 to 3.10.32
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 10:59:40 +00:00
John Crispin
1cd43bd476
ralink: fix the gpio mode mapping
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-18 13:33:16 +00:00
Gabor Juhos
ae7072b9ff
kernel: update 3.10 to 3.10.28
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 11:30:34 +00:00
John Crispin
56e5be943d
ralink: backport various fixes from linux-mti
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:22 +00:00
John Crispin
cbd4880e3c
ralink: add xhci driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:13 +00:00
John Crispin
2f5b67a466
ralink: fix uartf memory range size
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:30 +00:00
John Crispin
1ba82b12c7
ralink: honour memory@0 node
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:26 +00:00
John Crispin
8abf84130a
ralink: fix rt5350 ethernet
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:20 +00:00
Gabor Juhos
d3305e8570
kernel: update 3.10 to 3.10.26
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11 16:06:37 +00:00
John Crispin
c18a4e048c
ralink: fix tso regression in the ethernet driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-27 21:14:49 +00:00
John Crispin
490134a167
ralink: add mt7621 support
...
there are still various missing pieces for full support.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 10:53:34 +00:00
John Crispin
c1cf0505c4
ralink: add TSO
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:29 +00:00
John Crispin
9beda5ac39
ralink: fix typo in gpio irq handling
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:24 +00:00
John Crispin
9c8a6aa5ac
ralink: add partially working asoc driver. codec is not fully functional yet
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:08 +00:00
John Crispin
0c6b6702e3
ralink: add helper that identifies the mt7620 ECO
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:03 +00:00
John Crispin
dbd8651cdf
ralink: add dma engine support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:28:43 +00:00
Gabor Juhos
892e13e5c9
kernel: update 3.10 to 3.10.21
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 09:59:53 +00:00
John Crispin
7aca35e56c
ralink: fix up the mt7530 driver to work properly with gmac2
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:23 +00:00
John Crispin
d6cf0d5418
ralink: add LRO support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:12 +00:00
John Crispin
fa3ff9e1a1
ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:01 +00:00
John Crispin
451710bb2d
ralink: improve mt7620n detection
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:32 +00:00
John Crispin
1ee67c6cad
ralink: add mt7620 nand driver
...
This is a minor rework of the SDK driver. This driver needs a full rewrite.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:23 +00:00
John Crispin
123cbcd063
ralink: fix c&p error in gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:45:48 +00:00
Gabor Juhos
717bb2a9cf
kernel: update 3.10 to 3.10.18
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05 08:25:45 +00:00
John Crispin
00666d5685
ralink: add support for missing mt7620 mux values
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 06:47:39 +00:00
John Crispin
eb4abbaaa2
ralink: pinctrl fix for non muxed pins
...
Pins with no mux option failed to be recognized as gpios.
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-26 12:24:55 +00:00
Gabor Juhos
56e1cd4a8e
kernel: update 3.10 to 3.10.17
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 12:51:05 +00:00
John Crispin
602a036518
ralink: add support for the mt7530 eval board
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 21:10:15 +00:00
John Crispin
8b661082a8
ralink: add missing header file to mt7530 driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 21:10:00 +00:00
John Crispin
6ce9c49fc6
ralink: split mt7530 driver out of the gsw driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:39 +00:00