summaryrefslogtreecommitdiff
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Add status led for Xiaomi MiWiFi NanoCezary Jackiewicz2016-05-231-1/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-05-231-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add specific compatible properties for eswJohn Crispin2016-05-232-2/+2
| | | | | | | | | | | | | | | | Currently, for RT5350 and MT7628, esw is marked as compatible with "ralink,rt3050-esw". While this is true, the switches within RT5350 and MT7628 actually support more functionality than the RT3050 switch. One such example is per-VLAN untagging, which is an important feature. RT3352 is another example of this, but it already has an additional compatible property, which allows to differentiate it from RT3050. This commit adds such more specific properties for RT5350 and MT7628 as well. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: cleanup for Hame MPR-A2Cezary Jackiewicz2016-05-232-2/+3
| | | | | | | | | | | | - disable all ethernet ports except port 0 on MPR-A2 Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. - don't use a VLAN for the single ethernet port of the MPR-A2 Like A5-V11, this router only has one ethernet port. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: remove fake vlan rx offload from ethernet driverFelix Fietkau2016-05-204-27/+6
| | | | | | The network stack does not need it to do GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: use backported upstream patchesÁlvaro Fernández Rojas2016-05-199-108/+236
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix pinctrl regressionÁlvaro Fernández Rojas2016-05-186-6/+6
| | | | | | This regression was introduced in commit 9195d8da. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix spidev generic nodesÁlvaro Fernández Rojas2016-05-183-5/+6
| | | | | | | Use linux,spidev compatible string. Move MZK-DP150N spidev to spi1 node. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix size-cells on spi nodesÁlvaro Fernández Rojas2016-05-18111-114/+114
| | | | | | size-cells should be 0 in order to avoid dummy values in reg properties. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix 8M WT3020 image creationJohn Crispin2016-05-161-1/+1
| | | | | | fix image size for 8M version : 4M -> 8M Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
* ramips: fix ArcherC20i image creation - 3rd tryJohn Crispin2016-05-151-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix Archer C20i image buildFelix Fietkau2016-05-151-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: set default profile to priority 1John Crispin2016-05-146-0/+6
| | | | | | doing so will sort all profiles alphabetically Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix ArcherC20i image creationJohn Crispin2016-05-141-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips/mt7621: remove cflags overrideFelix Fietkau2016-05-141-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: disable unused ethernet ports on VoCoreÁlvaro Fernández Rojas2016-05-141-1/+2
| | | | | | Only ports 0 and 4 are used so disable the other ones in order to save power. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix indentation of Build/* template commandsFelix Fietkau2016-05-122-12/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add wmac nodes to all mt7628/88 dts filesJohn Crispin2016-05-123-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: add status led for ZBT-WE826Andrew Yong2016-05-121-1/+2
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: convert mt7620 to new image building codeJohn Crispin2016-05-1216-468/+386
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: convert mt7688 to new image building codeJohn Crispin2016-05-123-26/+14
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: convert mt7628 to new image building codeJohn Crispin2016-05-123-30/+20
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: convert mt7621 to new image building codeJohn Crispin2016-05-1212-199/+28
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: convert rt2880 to new image building codeJohn Crispin2016-05-124-93/+57
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: DTS modificationsStanislav Galabov2016-05-129-3/+87
| | | | | | | | | | | | | | This commit makes the following modifications to ramips dts files: 1. Add clkctrl node to all dtsi files (although not used for now) 2. Add clocks and clock-names properties to some nodes (usbphy, pci) 3. Add usbphy node for rt3050 (although not used for now) 4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi These modifications, although not fully used at the moment, will make it easier for FreeBSD to adopt and use LEDE ramips dts files with minimal changes for easier maintenance. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-05-129-0/+169
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: DTS reworkStanislav Galabov2016-05-12196-9852/+9599
| | | | | | | | Add node aliases to dtsi files. Reword dts files so they're more in-line with upstream. Fix some more warnings and errors reported by dtc Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-05-111-7/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix DTB generationJohn Crispin2016-05-101-1/+1
| | | | | | using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Change all '/include/' clauses to '#include' so preprocessing canStanislav Galabov2016-05-10175-176/+176
| | | | | | be done properly for the entire device trees. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: Add hex prefix (0x) to dtsi reg properties where needed.Stanislav Galabov2016-05-109-29/+29
| | | | Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: introduce serial0 aliasesStanislav Galabov2016-05-1010-10/+32
| | | | | | | This patch introduces serial0 aliases in the ramips DTS files, which can then be used to denote the active console instead of relying on bootargs. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-102-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: mt7620: [UPSTREAM] fix USB frequency scalingD. Andrei Măceș2016-05-101-0/+33
| | | | | | | The logic for the SoC check got inverted. We need to check if it's not a MT76x8. Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>
* ramips: Fix alphabetical sorting for 02_networkVittorio Gambaletta (VittGam)2016-05-101-11/+11
| | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Don't use a VLAN for the single ethernet port of the A5-V11.Vittorio Gambaletta (VittGam)2016-05-101-5/+2
| | | | | | | | | | This router only has one ethernet port, so a VLAN is useless here, now that the rt3050 TCP bug that happened without VLANs has been fixed for a very long time. Add this router to the VLAN-less config that is used by other single-port routers. Also fix MAC address detection code since this router has no WAN port. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Fix network for routers without VLANs on eth0.Vittorio Gambaletta (VittGam)2016-05-101-6/+2
| | | | | | | | | | | | | | Some routers only have one port, so eth0 is used without VLANs for them. Revision r47720 introduced some changes, but wrongly confused "enable" with "reset". VLANs need to be disabled for those routers, and the switch may be reset. Fix this, by explicitly disabling VLANs instead of resetting the switch for these routers. Also merge duplicate configuration for the "m2m". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Drop hacky switch workaround for failsafe on rt3x5x and rt5350.blogic2016-05-101-28/+9
| | | | | | | | | | | | The new rt3050 switch driver doesn't have problems with TCP when not using VLANs. This piece of code also broke failsafe for all routers where the LAN port is not wired to port 0 of the internal switch. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49293
* ramips: Disable all ethernet ports except port 0 on A5-V11.blogic2016-05-101-1/+2
| | | | | | | | | Port 0 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> SVN-Revision: 49292
* ramips: Disable all ethernet ports except port 4 on HT-TM02.blogic2016-05-101-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> SVN-Revision: 49291
* ramips: Get rt3050 ethernet ports to be disabled from the device tree.blogic2016-05-101-0/+81
| | | | | | | | | | | | | | | 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 444 enables all ethernet ports, so line 487 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> SVN-Revision: 49290
* ramips: Fix comment in rt3050 ethernet switch driver.blogic2016-05-101-0/+24
| | | | | | | | | | | | Line 444 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 443. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49289
* ramips: Fix documentation for the rt3050 switch driver.blogic2016-05-101-0/+23
| | | | | | | | The prefix used in the driver is now "mediatek" instead of "ralink". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49288
* ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.blogic2016-05-101-0/+26
| | | | | | | | | | | | | | | | | | The FCT2 esw register should be set to 0x2500C to have "unknown IPv6 multicast" packets broadcasted to every port, instead of dropped. The previous value only let those packets go through ports 1 and 3. "Unknown IPv6 multicast" packets include packets needed by ICMPv6 echo requests addressed to well-known addresses, such as ff02::1 (MAC address is 33:33:00:00:00:01 in this case). Please note that by default ICMPv6 echo requests to ff02::1 are not replied to by the router because of ip6tables considering those packets to be invalid. But this is another bug/patch. ;) Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49287
* ramips: add support for Planex MZK-EX750NP.blogic2016-05-108-1/+174
| | | | | | | | | | | add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
* image / basefiles: make console password configurableJohn Crispin2016-04-181-1/+1
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* target: globally remove ARCH_PACKAGES overridesJo-Philipp Wich2016-04-176-6/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: Add support for the Netgear WNDR3700v5John Crispin2016-04-268-0/+171
| | | | | | | | | | https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247