aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* generic/4.4: update to 4.4-rc7Imre Kaloz2016-01-016-31/+7
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* V2 ar71xx : Add Support for the Bitmain Antrouter R1John Crispin2016-01-0112-1/+144
| | | | | | | | | | This patch adds support for the Bitmain Antrouter R1 http://wiki.openwrt.org/toh/bitmain/r1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vmmc: Fix compilation with linux 4.4John Crispin2016-01-012-5/+5
| | | | | | gpio.h needs the linux/ prefix with linux 4.4. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add the xbar to vr9.dtsJohn Crispin2016-01-011-1/+5
| | | | | | | | linux 4.4 (since commit 08b3c894e56580b8ed3e601212a25bda974c3cc2 "MIPS: lantiq: Disable xbar fpi burst mode") requires that the xbar is defined in the .dts of vrx200 (VR9) SoCs. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Remove LED GPIO definitions in MQmaker WiTi device treeJohn Crispin2016-01-011-19/+0
| | | | | | | | LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: re-add lowlevel settingsJohn Crispin2016-01-011-0/+88
| | | | | | | | | | | | | | | | Add back a slightly modified version of the lowlevel settings which where removed with r46920. In compare to the old lowlevel settings, the B43c tone is added to tone_adsl_b and tone_adsl_bv. If an unsupported tone value is used, the auto probing mode is used, in compare to the fallback to tone_adsl_av and tone_vdsl_av with the old lowlevel settings. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: enable G.993.5 XTSE bit by defaultJohn Crispin2016-01-011-3/+7
| | | | | | | | | | | | | According to ITU-T G.997.1 Amendment 2 (04/2013) section 2.1, bit 3 of XTSE octet 8 either allow or denies the initialization of G.993.5. Even if the current redistributable xDSL firmware doesn't include G.993.5 vectoring support, enable this bit by default to allow people to get their G.993.5 line working using a custom xDSL firmware. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: let the driver/app probe the xtse on missing annexJohn Crispin2016-01-011-3/+0
| | | | | | | | | | | r47933 revealed that the driver/app in combination with the chosen firmware does a good job in selecting a working xtse. Use this probing mode if no annex is specified. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: add/enable missing G.993.2 XTSE bitsJohn Crispin2016-01-011-10/+9
| | | | | | | | | | | | | | | | | This patch adds the missing VDSL2 bits to the annex specific XTSE (like it should be according to the comments above the XTSE bits). Since r47933 it's mandatory to remove the annex option to switch to VDSL2 (only) operation mode. As shown by ticket #21436 and a few mails I received personally, even experienced users are not aware that they have to remove the annex option to get their VDSL2 line working and as shown by this patch it doesn't need to be that "complicated". Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: use the final xtse formatJohn Crispin2016-01-011-5/+5
| | | | | | | | This way we can drop the call to sed. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add WRTnode2 platform and led supportJohn Crispin2016-01-018-0/+168
| | | | | | Signed-off-by: xzmu <xzmu@wrtnode.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: add support for renamed devicesJohn Crispin2016-01-011-2/+3
| | | | | | | | | | | The ppp0 interface is renamed after the connection is established. Due to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of the renamed interface and literally ignores the device (no tx/rx indication, led isn't switched off with 'ifdown wan'). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: match default xdsl mode and default wan interfaceJohn Crispin2016-01-011-1/+5
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: convert vendorid into human readable formJohn Crispin2016-01-011-0/+67
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add the current profile to the stats outputJohn Crispin2016-01-011-0/+30
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: TDW8980 - use devicename:colour:function led naming schemeJohn Crispin2016-01-011-1/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: P2812HNUFX - move usb leds to P2812HNU-F1John Crispin2016-01-012-10/+18
| | | | | | | | | | The P2812HNU-F3 doesn't have usb leds. Only the P2812HNU-F1 has those leds. Reported-by: Sylwester Petela <sscapi@gmail.com> Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use devicename:colour:function led naming schemeJohn Crispin2016-01-0130-372/+396
| | | | | | | | | | | | | | | | The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for indicating the boot state using three ledsJohn Crispin2016-01-0133-132/+189
| | | | | | | | | | | | | | The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to indicate the current boot state. This patch adds support for such cases. The existing led sequences should be the same as before. Boards which are using a led different from power (like TDW89x0) are changed to switch of the led after boot Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use dsl led defined in DTSJohn Crispin2016-01-014-17/+20
| | | | | | | | | | | | | | | | | dsl_control (dsl_notify.sh) is the only process which is aware of the state of the atm/ptm interface. Use the dsl led exclusive for the dsl line state. On boards which don't have a distinct internet and a dsl led, let the netdev status of the atm interface trigger the shared led. Triggering the shared led according to the status of the ppp interface isn't suitable, since the led would be switched of if the ppp connection goes down, but the line is still in sync. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use power leds defined in DTSJohn Crispin2016-01-011-15/+19
| | | | | | | | Use the power leds defined in the dts file instead of hardcoded led names. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use default leds defined in DTSJohn Crispin2016-01-012-20/+23
| | | | | | | | | | | | | Remove all now double defined leds from the led board file. Use pppoe as default for all broadband connections, since it's the default in OpenWrt now. Rename the the wifi leds to make sure, the not applicable default values get overwritten. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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
* mt76: update to the latest version from the mt7603 branch, adds support for ↵Felix Fietkau2016-01-011-4/+6
| | | | | | | | overriding the mac address via OF Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48028 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
* kernel: fix duplication of sch_netem in multiple packages (#21479)Felix Fietkau2016-01-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dante: fix MD5SUMNicolas Thill2015-12-311-1/+1
| | | | | | | | | | MD5SUM is wrong, it was not updated during last update to v1.4.1. Thanks to Daniel Dickinson <openwrt@daniel.thecshore.com> for reporting it. Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48017 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
* uboot-imx6: add support for i.MX6q SABRE boardLuka Perkov2015-12-281-0/+5
| | | | | | | | | | U-boot ships with the `mx6qsabresd` configuration file to configure a bootloader suitable for booting the Freescale i.MX6q SABRE evaluation board from SD card. Expose this option in the uboot-imx6 Makefile. Signed-off-by: Keno Fischer <keno@juliacomputing.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48014 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