aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* ramips: enhance dma engine supportMichael Lee2016-06-241-211/+1339
| | | | | | | | | | | | | | * fix compiler error. device_control operation not support now. * add old chips support 8 channels. new chips support 16 channels. * add mt7621 hsdma driver. data sheet says it has two channels. but after test only one channel support. * add memory to memory DMA support. i use dmatest kernel module to verify this function. on rt305x it will copy more data. on mt7621 only two channels can works at the same time. these two chips maybe have hardware bugs. because on other chips don't have these bugs. * use tasklet to handle remaining dma requests. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-3/+3
| | | | | | | Calling `cat foo bar | dd ... conv=sync` *may* add extraneous padding. Avoid this. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add kmod-pwm-mediatek for mt7628/mt7688Álvaro Fernández Rojas2016-06-241-1/+21
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix the number of uarts for each SoCÁlvaro Fernández Rojas2016-06-246-7/+4
| | | | | | | | - Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620. - Allow up to 3 uarts on MT7621 and MT7628. - Remove unneeded SERIAL_8250_RT288X for MT7628. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix Mi Wi-Fi Nano Wireless LED pinmuxÁlvaro Fernández Rojas2016-06-241-2/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-246-1/+184
| | | | | | | | | The Widora board is similar to the Linkit 7688 but features a larger flash capacity. Signed-off-by: Yuan Chenmang <771992497@qq.com> [Jo-Philipp Wich: Reword commit message, cleanup initial PR] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-2/+3
| | | | | | | | The previous image creation code would have failed if the unpadded kernel uImage size was less than 64 bytes from the next erase block boundary. Fix that. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-8/+4
| | | | | | | | The bootloader on this device expects the kernel partition to end on a 64k boundary. The last 64 byte of the kernel partition must contain a valid uImage header (the fakeroot partition). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add backported MT7628 pinmux fixesÁlvaro Fernández Rojas2016-06-244-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: Add status led for Xiaomi MiWiFi NanoCezary Jackiewicz2016-06-241-1/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-06-241-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add specific compatible properties for eswStanislav Galabov2016-06-242-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-06-242-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-06-241-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: remove fake vlan rx offload from ethernet driverFelix Fietkau2016-06-244-27/+6
| | | | | | The network stack does not need it to do GRO Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix pinctrl regressionÁlvaro Fernández Rojas2016-06-246-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-06-243-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-06-24111-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-06-241-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-06-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix Archer C20i image buildFelix Fietkau2016-06-241-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: set default profile to priority 1John Crispin2016-06-246-0/+6
| | | | | | doing so will sort all profiles alphabetically Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix ArcherC20i image creationJohn Crispin2016-06-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips/mt7621: remove cflags overrideFelix Fietkau2016-06-241-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: disable unused ethernet ports on VoCoreÁlvaro Fernández Rojas2016-06-241-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-06-242-12/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add wmac nodes to all mt7628/88 dts filesJohn Crispin2016-06-243-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: add status led for ZBT-WE826Andrew Yong2016-06-241-1/+2
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: convert a bunch of targets to new image building codeZoltan HERPAI2016-06-2434-723/+448
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* target: globally remove ARCH_PACKAGES overridesJo-Philipp Wich2016-06-2410-99/+57
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: DTS modificationsStanislav Galabov2016-06-249-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>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-06-249-0/+169
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: DTS reworkStanislav Galabov2016-06-24196-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.13Álvaro Fernández Rojas2016-06-221-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-201-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: use backported upstream patchesÁlvaro Fernández Rojas2016-06-209-108/+236
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-06-201-7/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-06-202-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: fix replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-1914-31/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix DTB generationLuka Perkov2016-06-191-1/+1
| | | | | | | | using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Change all '/include/' clauses to '#include' so preprocessing can be ↵Luka Perkov2016-06-19175-176/+176
| | | | | | | | done properly for the entire device trees. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add hex prefix (0x) to dtsi reg properties where needed.Luka Perkov2016-06-199-29/+29
| | | | | | Signed-off-by: Stanislav Galabov <sgalabov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: introduce serial0 aliasesLuka Perkov2016-06-1910-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7620: [UPSTREAM] fix USB frequency scalingLuka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix alphabetical sorting for 02_networkLuka Perkov2016-06-191-11/+11
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Don't use a VLAN for the single ethernet port of the A5-V11.Luka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix network for routers without VLANs on eth0.Luka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image / basefiles: make console password configurableluka2016-06-191-1/+1
| | | | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Drop hacky switch workaround for failsafe on rt3x5x and rt5350.John Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Disable all ethernet ports except port 0 on A5-V11.John Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49292 3c298f89-4303-0410-b956-a3cf2f4a3e73