aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
...
* ralink: fix pcie resetJohn Crispin2014-11-172-11/+21
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166DFelix Fietkau2014-11-161-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use mediatek,mtd-eeprom instead of ralink for mt76Felix Fietkau2014-11-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix default config breakage on whr-1166dFelix Fietkau2014-11-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: few updates tot he sdhci probe codeJohn Crispin2014-11-156-59/+76
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: make the sdhci module build againJohn Crispin2014-11-142-17/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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