aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* CC: generic: bump kernel to 3.18.44Zoltan HERPAI2016-10-254-21/+21
| | | | | | | | | Patch 610- is updated as check_entry helper was killed in 3.18.37 Fixes CVE-2016-5195 (dirtycow) Compile-tested on ar71xx, mxs, sunxi, imx6 Runtime-tested on ar71xx (PB42) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ramips: fix usb phy initialisationJohn Crispin2016-09-291-13/+13
| | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-09-291-1/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* CC: kernel: update kernel 3.18 to version 3.18.36Hauke Mehrtens2016-09-293-23/+23
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CC: ramips: backport rt3352 usbphy fix in dts-fileJohn Crispin2016-04-251-1/+8
| | | | | | | | Backport of trunk patch. Fix kernel hang during loading ehci-hcd module. SIgned-Off-By: Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix 16 bit IO on newer coresJohn Crispin2016-04-201-5/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add spi fixJohn Crispin2016-04-191-97/+7
| | | | | | | | | the fullduplex on CS1 is broken. remove the fullduplex support and run on plain half duplex on both CS lines. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add i2c fixJohn Crispin2016-04-191-78/+59
| | | | | | | | | | there is a deadlock that triggers under heavy bus load. until the bug is fxed, revert to an old version of the I2C driver that does not suffer from this issue. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-034-47/+47
| | | | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.24 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.25 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.26 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.27 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: EX2700: remove unused kernel modulesJohn Crispin2016-03-031-1/+2
| | | | | | | | | | | Remove the kmod-mt76 package from the EX2700 profile to free up around 100 KiB of space on the root filesystem. This patch applies to both trunk and Chaos Calmer. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Backport support for Netgear EX2700John Crispin2016-02-269-1/+205
| | | | | | | | | This patch adds support for the Netgear EX2700 in Chaos Calmer and builds approriate -sysupgrade and -factory images. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix mt7628 ehci supportJohn Crispin2016-02-192-73/+127
| | | | | | | | | | the u2_phy init was missing Backport of r48747 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix alsa mic in supportJohn Crispin2016-02-191-93/+71
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: HiLink HLK-RM04 image name typo (RM02 -> RM04)John Crispin2016-01-211-1/+1
| | | | | | | | | | The image name for the HiLink HLK-RM04 module has a typo and should read "RM04" rather than "RM02" Backport of r48355 Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: override features to disable mips16 support for rt288xFelix Fietkau2016-01-051-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Disable all ethernet ports except port 4 on HT-TM02.John Crispin2016-01-031-0/+1
| | | | | | | | | Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Get rt3052 ethernet ports to be disabled from the device tree.John Crispin2016-01-031-3/+14
| | | | | | | | | | | | | | | This patch allows configuring ports to be disabled in the device tree; this saves power, since disabling ports here actually disables power to ethernet PHYs. Line 461 enables all ethernet ports, so line 508 is getting zero ports to be disabled, except for port 5 in SoCs where this is not implemented as it will be sticky disabled in register POC0. Because of this, the code will still read the switch configuration and OR it to the device tree setting. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix comment in rt3052 ethernet switch driver.John Crispin2016-01-031-1/+1
| | | | | | | | | | | | Line 461 is actually enabling all switch ports by setting the disable bits to 0. This needs to be done because the bootloader sets all ports to disabled by default (which is the case for at least one router based on RT5350). So, this patch fixes the comment in line 460. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix whitespace in the rt3052 switch driver.John Crispin2016-01-031-4/+4
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix audio recordingJohn Crispin2015-12-091-1/+1
| | | | | | | | | there was an incorrect usage of tx path helpers in the rx path causing the code to run into endless sleep states Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ramips: minor fixes for ZTB-WG2626Felix Fietkau2015-12-052-2/+2
| | | | | | | | | | | | In backport commit r47605 the LED was named wrongly in a userspace script. Also remove reference to undefined pinmux group "wdt rst" causing logline rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio" Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47773 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ramips: Backport support for ZBT WG2626John Crispin2015-11-238-4/+168
| | | | | | | | Backport of r47351 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: minor tweak to the lks7688 baord nameJohn Crispin2015-11-052-2/+2
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47388 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add feature to blink led on sysupgradeJohn Crispin2015-11-032-1/+11
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47373 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-0117-99/+99
| | | | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 backport of r47334. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2015-10-261-38/+15
| | | | | | | | | | this unbreaks glibc builds Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47266 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: WIZnet WizFi630A Platfrom support - board detectionJohn Crispin2015-10-201-0/+3
| | | | | | | | | | | This patch is adding the missing board detection of WIZnet WizFi630A board. ramips.sh was not submitted with the former patch. This belongs to to the backport of patch r46921 Signed-off-by: Tobias Welz <tw@wiznet.eu> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: gpio-mt7621 was not handling irqs above 31 properlyJohn Crispin2015-10-201-1/+1
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47238 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add alsa driverJohn Crispin2015-10-195-2/+8445
| | | | | | | | | | add the alsa driver from the latest RTSDK Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47205 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update mt7628 dtsi fileJohn Crispin2015-10-191-5/+180
| | | | | | | | | | | add nodes required for audio add missing pinmux definitions Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47205 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add a baurate hackJohn Crispin2015-10-191-0/+12
| | | | | | | | | | | When talking to an atmel controller we need 9600 or 250000 baud. as 250000 does not exist we use 2500000. Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47204 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add LinkIt Smart7688 supportJohn Crispin2015-10-197-0/+315
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47203 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7688 subtargetJohn Crispin2015-10-195-2/+226
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47203 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: various mt7688 pinmux fixesJohn Crispin2015-10-021-11/+13
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46474 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add irq to mt7628 gpio nodeJohn Crispin2015-10-021-0/+3
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47076 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: the mmc driver can now handle CD lines that are active lowJohn Crispin2015-10-021-3/+13
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47074 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add CD polling to sd driverJohn Crispin2015-10-021-12/+15
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46475 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: speed selection was broken in spi-mt7621John Crispin2015-10-021-4/+5
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r47073 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove debug code from usb phy driverJohn Crispin2015-10-021-5/+3
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46659 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621/3/8 support to the I2C driverJohn Crispin2015-10-021-38/+66
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46959 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47095 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix reported vendor nameJohn Crispin2015-10-021-0/+22
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46958 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add proper mt7688 detectionJohn Crispin2015-10-022-2/+116
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46957 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add speed and mode settings to spi-mt7621John Crispin2015-10-021-13/+178
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46956 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add get_direction() callback and irq support to gpio-mt7621John Crispin2015-10-021-12/+188
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46955 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: more m7628 pinmux fixesJohn Crispin2015-10-021-0/+131
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46954 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7628 pwm driverJohn Crispin2015-10-021-0/+204
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46953 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make pinctrl work on newer socsJohn Crispin2015-10-021-20/+27
| | | | | | | | | | newer socs have 2 mux registers Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46952 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the mt7628 spi driver work for both cs linesJohn Crispin2015-10-021-8/+7
| | | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46951 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the early_printk code detect which uart is usedJohn Crispin2015-10-021-2/+27
| | | | | | | | | | only tested on mt7628 Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r46950 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ramips: Added WIZnet WizFi630A Platfrom based on Ralink RT5350John Crispin2015-10-016-1/+214
| | | | | | | | | | This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor. Signed-off-by: Tobias Welz <tw@wiznet.eu> This is a backport of patch r46921 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47072 3c298f89-4303-0410-b956-a3cf2f4a3e73