summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
...
* ramips: update i2c driversMichael Lee2016-06-132-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add gdma hsdma dts infoMichael Lee2016-06-137-2/+104
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enhance dma engine supportMichael Lee2016-06-131-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>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-0714-31/+31
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-051-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: rebrand Netgear EX2700 fakeroot uImageJoseph C. Lehner2016-06-051-0/+0
| | | | | | Change image name: "OpenWrt fakeroot" -> "LEDE fakeroot" Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add kmod-pwm-mediatek for mt7628/mt7688Álvaro Fernández Rojas2016-06-031-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-036-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-031-2/+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-021-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-016-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-05-301-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-05-271-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-05-294-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* 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>