aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
...
* lantiq: define default leds in dts filesJohn Crispin2016-01-0131-135/+371
| | | | | | | | | | - ARV7525PW: use the power led as dsl led as done by the stock firmware - FRITZ3370: use the info led as internet led - FRITZ7320: use the power led as dsl led as done by the stock firmware Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ARV752DPW - fix dts fileJohn Crispin2016-01-011-9/+13
| | | | | | | | | | | | | | Use the same led logic and labels as the OEM firmware (red = okay, blue = failure). Add the red internet led. Remove missing usb led workaround. The workaround shouldn't be in the default configuration. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48036 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ARV752DPW22 - fix dts fileJohn Crispin2016-01-011-22/+12
| | | | | | | | | | | No need to switch (and keep) on all leds at boot. Use the same led logic and labels as the OEM firmware (red = okay, blue = failure). Add the red internet led. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN1000B - fix typo in dts fileJohn Crispin2016-01-011-1/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ARV4518PWR01* move redundant parts to dtsiJohn Crispin2016-01-013-356/+186
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BTHOMEHUBV2B - remove missing usb led workaroundJohn Crispin2016-01-011-1/+0
| | | | | | | | The workaround shouldn't be in the default configuration. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: P2812HNUFX - move leds to dtsiJohn Crispin2016-01-013-114/+61
| | | | | | | | Beside the used labels, they are the same on both boards. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix rt3050/5350 ethernet switch supportJohn Crispin2016-01-011-9/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set the wifi mac address to the same as LAN on witiFelix Fietkau2016-01-011-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add a script to fix up the broken mac address on the witi boardFelix Fietkau2016-01-012-1/+79
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48027 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fold of_get_mac_address_mtd into of_get_mac_addressFelix Fietkau2016-01-013-94/+112
| | | | | | | | This makes it easier to keep drivers in sync with upstream Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48026 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix kernel configuration for mt7628Felix Fietkau2016-01-011-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing clk_round_rate function to fix buildbot errorsFelix Fietkau2016-01-011-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix inverted LEDs for RE6500Felix Fietkau2016-01-011-2/+2
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mac address assignment for eth0 on RE6500Felix Fietkau2016-01-011-0/+4
| | | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48021 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix firmware partition sizeFelix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix memory size for RE6500Felix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Bjoern Dobe <bjoern@dobecom.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: images: ventana: change name of ubi outputLuka Perkov2015-12-291-3/+4
| | | | | | | | | | | | | | Change the name of the .ubi produced to strip out the word 'factory'. This is mainly due to the fact that there is no difference between the Ventana 'factory' image vs the standard image. Name changes from: openwrt-imx6-ventana-squashfs.nand-factory_<size>.ubi to openwrt-imx6-ventana-squashfs-nand_<size>.ubi Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48016 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: fix device-tree mac address assignment for ventana sky2/eth1Luka Perkov2015-12-282-0/+54
| | | | | | | | | | | | | | Some Ventana boards have a Marvell sky2 GigE controller as eth1 however assigning the mac address through device-tree is difficult because the PCI slot can move around depending on board configuration and slot population. To work around this we add a patch to the sky2 driver to allow accessing its mac address via a device-tree alias. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48013 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add i2c retries for Ventana /dev/i2c-0Luka Perkov2015-12-281-0/+24
| | | | | | | | | | | | | | On Ventana boards the Gateworks System Controller is the only device on I2C1 (/dev/i2c-0) and it can NAK transfers if it is busy in an ADC loop. Because this is a multi-function device with several slave addresses it is best to add retries at the controller level instead of within each slave driver. This adds a patch that adds 3 retries for i2c transactions only for Ventana boards and only for I2C1 Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48012 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: imx: thermal: use CPU temperature grade info for thresholdsLuka Perkov2015-12-281-0/+114
| | | | | | | | | | | | | | | This is a backport of a2291badc355d58ead5c19ae0609468947416040 from thermal-soc accepted upstream. The IMX6Q/IMX6DL SoC's have a 2-bit temperature grade stored in OTP. Instead of assuming 85C for passive cooling threshold and 100C for critical base these thresholds off the thermal gade max CPU temperature: - passive threshold: max - 10C - critical threshold: max - 5C Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: Add pwm nodesLuka Perkov2015-12-281-0/+276
| | | | | | | | Upstream status: Accepted Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: ventana: add ecspi3 host controller for GW52xxLuka Perkov2015-12-281-0/+35
| | | | | | | | | | Certain board revisions of the GW52xx support an SPI host controller with a single chip-select going to an off board connector. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: Add 4.3 supportLuka Perkov2015-12-2812-0/+2539
| | | | | | | | | | | | | | Build and boot tested on the following hardware: * GW54xx * GW53xx * GW52xx * GW51xx * GW552x * GW551x Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: drop lingering filesLuka Perkov2015-12-282-1072/+0
| | | | | | | | Since 3.18 kernel support was dropped, remove lingering files. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for wnr2200Felix Fietkau2015-12-231-1/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix Image BuilderJohn Crispin2015-12-231-2/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINKJohn Crispin2015-12-231-47/+4
| | | | | | | | | As explained earlier, using SWITCH_TYPE_LINK gives more flexibility, it doesn't require e.g. string parsing to read some data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: add SWITCH_TYPE_LINK and support sending link info to user spaceJohn Crispin2015-12-233-0/+74
| | | | | | | | | | | | | So far we were sending link data as a string. It got some drawbacks: 1) Didn't allow writing clean user space apps reading link state. It was needed to do some screen scraping. 2) Forced whole PORT_LINK communication to be string based. Adding support for *setting* port link required passing string and parting it in the kernel space. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix PCI_DEVICE_ID_LANTIQ_PCIEJohn Crispin2015-12-231-10/+2
| | | | | | | | | | | | | | | It's not necessary to define PCI_* if pci_ids.h is included a few lines above. The change to pci_ids.h doesn't look intentional to me, especially since the former value is added to the top of ifxmips_fixup_pcie.c. Both changes were introduced with the kernel 4.1 support patches and were not present in the 3.18 patches. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: TDW89x0 - increase spi frequencyJohn Crispin2015-12-231-2/+4
| | | | | | | | | | | | | | | | | Use the same max spi frequency as set in u-boot. According to the datasheets, the Q64-104HIP as well as the Winbond 25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the Q64-104HIP couldn't be recognized/initialized if the frequency was > 40MHz. Both chips do support fast read as well. While touching the dts file, I fixed the dtc compiler warnings. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: disable SW_PORTMAP usage in the ethernet driverJohn Crispin2015-12-231-5/+4
| | | | | | | | | using the special tag in this way lead to port mirroring for certain types of traffic. fallback to using th PMAC_EWAN register for the wan portmap. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: reset link status & stats after changing device_nameRafał Miłecki2015-12-231-0/+2
| | | | | | | | | Previously switching to non-existing device (interface) could result in leaving LED on. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: drop locking from timer callback functionRafał Miłecki2015-12-231-11/+13
| | | | | | | | | | We may just delete timer on every trigger update and then start it again if needed. This will let us avoid both: races and locking in frequently called timer callback. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: switch rwlock to spinlockRafał Miłecki2015-12-231-20/+20
| | | | | | | | | | Read/write lock was adding useless complexity, there wasn't any real gain in case of this driver. Also switch to _bh variants to avoid deadlocks. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Update preinit script for new ath10k firmwareJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh patchesJohn Crispin2015-12-237-19/+19
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for QCA956x ethernetJohn Crispin2015-12-231-0/+166
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update QCA956x supportJohn Crispin2015-12-232-46/+92
| | | | | | | | | | | - separate qca956x and tp9343 (they use different IDs) - rename qca9561->qca956x for consistency - add missing bits (device reset, gpio output select) - fix wmac setup Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for AirTight Networks C-55John Crispin2015-12-2314-1/+198
| | | | | | | | This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: switch to 4.1John Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: build squashfs image by defaultJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: increase kernel partitionJohn Crispin2015-12-231-1/+1
| | | | | | | | | 4.1 got little bit larger than 4MB and I couldn't get lzma loader working on this platform Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure LED polarity for TDW8970 and TDW8980.John Crispin2015-12-232-4/+1
| | | | | | | | | This patch configures the correct ath9k WLAN LED polarity for the TDW8970, and for the TDW8980 as well. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add remaining kernel patch accidentally left out of r47963Felix Fietkau2015-12-231-0/+45
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport all current pppoe kernel fixes to 3.18Felix Fietkau2015-12-2310-20/+260
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: update base driver instead of patching it for every kernelRafał Miłecki2015-12-235-160/+4
| | | | | | | | | | All supported kernels require patching ledtrig-netdev in the same way, so it's safe to just move these changes to the base version of this driver. We needed these patches for some old kernels 2.6.36 and 3.11. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.4: add missing config optionsZoltan HERPAI2015-12-201-0/+17
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-207-9/+4
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chipsFelix Fietkau2015-12-192-0/+9
| | | | | | | | | | The following patch is to add ath79_register_m25p80_large, which sets is_flash to false to support bit banging. This is needed on some 32MB+ SPI chips, such as the S25FL256S1 Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47952 3c298f89-4303-0410-b956-a3cf2f4a3e73