aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ralink: dont define pm_poweroffJohn Crispin2014-11-142-0/+15
| | | | | | | | this makes gpio-poweroff work Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix bank detection in mt7621 gpio driverJohn Crispin2014-11-141-12/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: enable the proper drivers in the mt7621 configJohn Crispin2014-11-141-23/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix broken pinmux function naming inside mt7621.cJohn Crispin2014-11-141-30/+50
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update sdhci driverJohn Crispin2014-11-141-936/+2332
| | | | | | | | the new driver handles newer SoCs Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update pcie driver to load ranges from dtsJohn Crispin2014-11-144-30/+114
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add a new global ralink_soc variableJohn Crispin2014-11-141-0/+230
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update ethernet driver to use new ralink_soc variableJohn Crispin2014-11-142-42/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix the 10mbit bug on mt7621John Crispin2014-11-141-1/+1
| | | | | | | | a missing "val =" caused the AN bit in the phy0 reg to be flushed. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve mt7530 supportJohn Crispin2014-11-141-2/+16
| | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for WSR-600/1166John Crispin2014-11-147-1/+317
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7621 has a different base addr for PVIDJohn Crispin2014-11-141-1/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: drop some unused code from pci-mt7620aJohn Crispin2014-11-141-18/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix up dts for mt7621 eval boardJohn Crispin2014-11-124-26/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for mt7621 ethernetJohn Crispin2014-11-1210-6109/+342
| | | | | | | | somehow all switch ports still come up as 10mbit. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: more mt7530 fixesJohn Crispin2014-11-111-2/+2
| | | | | | | | make 1166 wan port work. this broke due to the esw_polling bug Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mdio polling of external phys if only 1 phy existsJohn Crispin2014-11-111-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: remove IC plus phy driverJohn Crispin2014-11-111-1/+0
| | | | | | | | this driver confuses some boards Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: DCS-930: enable soundLuka Perkov2014-11-111-0/+1
| | | | | | | | Camera has microphone; in order to use it by default enable sound support. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update DCS-930 dtsLuka Perkov2014-11-111-26/+4
| | | | | | | | | * 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix initramfs image build handlingFelix Fietkau2014-11-081-4/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add eeprom data for 802.11ac wlan on WHR-1166DFelix Fietkau2014-11-081-0/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing size/address-cells to device tree include filesFelix Fietkau2014-11-082-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix a regression that broke pcie on mt7621John Crispin2014-11-081-8/+11
| | | | | | | | i accidentally dropped 2 lines while adding mt7628 support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable sysupgrade for whr-600d, whr-1166dFelix Fietkau2014-11-081-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix the compat string for mt7620a pciJohn Crispin2014-11-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: assign default ranges inside the pci driverJohn Crispin2014-11-071-14/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7628 does not actually need this fix for the ethernet driverJohn Crispin2014-11-071-3/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: improve r43200John Crispin2014-11-063-5/+10
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: only apply ephy1 fixup if the phy is presentJohn Crispin2014-11-061-35/+40
| | | | | | | | this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: tweak e1700 dts fileJohn Crispin2014-11-061-2/+0
| | | | | | | | the current driver code wont know which mt7530 to apply the llllw setting to. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make pci driver handle mt7628John Crispin2014-11-063-94/+139
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for mt7628John Crispin2014-11-0611-4/+518
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43197 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add mt7628 support to the ethernet driverJohn Crispin2014-11-062-1/+85
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: cleanup ethernet Makefile/KconfigJohn Crispin2014-11-064-9/+38
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43195 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: move ethernet driver to files/John Crispin2014-11-0622-6063/+5909
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips]: add support for the Linksys E1700Imre Kaloz2014-11-057-0/+178
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add pci bidge node to mt7620a dts fileJohn Crispin2014-11-031-0/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix wan port on whr-1166John Crispin2014-11-032-4/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Airlink101 AR670WJohn Crispin2014-11-038-3/+147
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make sure a mii_bus is loaded before accesing its stateJohn Crispin2014-10-301-4/+4
| | | | | | | | this caused a crash on boot Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: load mt7530 driver on the 3 buffalo unitsJohn Crispin2014-10-301-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: mt7530 - force wan port upJohn Crispin2014-10-301-5/+14
| | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7530 for newer silicon revisionsJohn Crispin2014-10-301-10/+7
| | | | | | | | latest mt7530 silicon seems to have a different phy id. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve ralink ethernet driverJohn Crispin2014-10-291-458/+1434
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix switch config on mt7530 evbJohn Crispin2014-10-292-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix a off by 4 bug in mt7530John Crispin2014-10-291-63/+112
| | | | | | | | 0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for A5-V11 board (resubmit)John Crispin2014-10-297-0/+152
| | | | | | | | | | (Reposted due to an issue with the patchwork server during original submission) Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key) Signed-off-by: Gareth Bryan <gareth@mx9.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix filenames in PorayDualSize factory imagesJohn Crispin2014-10-261-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73