Commit graph

1672 commits

Author SHA1 Message Date
Mathias Kresin
c9e6b173f7 ramips: fix build of TRENDnet TEW-69xGR images
The image generation for TEW-691GR and TEW-692GR was broken since
79d02229 due to the move of the UMedia recipe to another Makefile.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-08-20 11:47:25 +02:00
Mathias Kresin
c892f37b30 ramips: move umedia build step to Makefile
Some rt3883 based boards need this one as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-08-20 11:47:25 +02:00
Mathias Kresin
bcd2113a32 ramips: TEW-691GR: fix switch and wireless
Due to the missing phy-mode setting, the switch wasn't initialised.

The wireless requires an eeprom to work. Use the same mac addresses as
the stock firmware.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-08-20 11:47:25 +02:00
Mathias Kresin
a7c6cf5182 ramips: TEW-692GR: fix switch and wireless
The AR8327 initvals were not copied to the DTS during the switch from
mach file to device tree and broke the switch on the device.

The former used PORT6 related initvals were wrong and have been
corrected.

The phy mode setting for the switch was missing in the DTS as well.

The wireless requires an eeprom to work. The dual band wireless chips
have both bands enabled by default but only one band per chip is
working.

The stock firmware uses the following mac addresses:

LAN:    AA:BB:CC:DD:EE:E4
WAN:    AA:BB:CC:DD:EE:E4
2.4GHz: AA:BB:CC:DD:EE:E4
5 GHz:  AA:BB:CC:DD:EE:E8

Assuming the mac address range :E4 to :E8 is reserved for this device,
the MAC addresses were reorder to have a unique MAC address for each
interface:

LAN:    AA:BB:CC:DD:EE:E4
2.4GHz: AA:BB:CC:DD:EE:E4
WAN:    AA:BB:CC:DD:EE:E5
5 GHz:  AA:BB:CC:DD:EE:E8

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-08-20 11:45:45 +02:00
Mathias Kresin
05912a304c ramips: rt3883: fix dtc compiler warning
Fixes the following compiler warning:

Warning (reg_format): "reg" property in /ethernet@10100000/port@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /ethernet@10100000/port@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /ethernet@10100000/port@0

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-08-20 11:42:42 +02:00
John Crispin
99a1888287 swconfig: revert the portmapping patches, they seem to cause a segfault
Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig"

This reverts commit 675407baa4.

Revert "swconfig: remove obsolete portmapping feature"

This reverts commit fca1eb349e.

Signed-off-by: John Crispin <john@phrozen.org>
2016-08-16 10:20:01 +02:00
John Crispin
675407baa4 kernel/swconfig: remove obsolete portmapping feature from swconfig
Signed-off-by: John Crispin <john@phrozen.org>
2016-08-15 15:18:35 +02:00
Felix Fietkau
592c0a1cd2 ramips: fix legacy image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-08-11 17:07:37 +02:00
Chuanhong Guo
0f73801f4f ramips: Add support for Thunder Timecloud
Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an
SD Card slot. There is no wireless cards.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2016-08-10 03:04:08 +02:00
Jimmy Zhong
2b1f4945b1 ramips: Add support for TEW-714TRU
Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
2016-08-10 03:03:50 +02:00
Jonas Gorski
bebcb81da5 ramips: switch from 24kec to 24kc
Since the only difference between 24Kec and 24Kc is the addition of DSP
ASE support, and we don't use it anymore, there is no need to keep 24Kec
as a separate cpu type.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-08-08 11:29:56 +02:00
John Crispin
281483e097 ramips: enable nand support for mt7621
this makes sysupgrade work on the ERX

Signed-off-by: John Crispin <john@phrozen.org>
2016-08-03 15:30:13 +02:00
John Crispin
8e75630d1d ramips: updated remaining profiles to the new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-08-03 15:30:13 +02:00
Felix Fietkau
9abbaa9539 build: remove MIPS dsp/dsp2 CPU_SUBTYPE
There does not seem to be any meaningful difference in generated code.
This will save some time and space on snapshot builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-08-03 14:56:45 +02:00
P.Wassi
686617ae39 ramips: Rename TP-Link Archer C50 LEDs
Rename LEDs in TP-Link Archer C50 from [manufacturer name]
to [board name] ("tp-link" -> "c50")

Signed-off-by: P.Wassi <p.wassi@gmx.at>
2016-07-26 08:39:36 +02:00
P.Wassi
dbf107cd2b ramips: Improve TP-Link Archer C20i support
Improve / finalise TP-Link Archer C20i support.

Signed-off-by: P.Wassi <p.wassi@gmx.at>
2016-07-26 08:39:36 +02:00
Felix Fietkau
63b525dd6b image: add a helper variable for getting kernel/rootfs from within image Build/* templates
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-31 12:25:25 +02:00
Jo-Philipp Wich
db49dd894e build: rename sysupgrade-nand to sysupgrade-tar
Now that the "sysupgrade-nand" step is used by non-NAND targets as well,
rename it to "sysupgrade-tar" to make it more generic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-29 16:53:03 +02:00
P.Wassi
525b9edc8a ramips: unify etc/board.d/01_leds configuration
Introduce an optional parameter at the local set_usb_led and
set_wifi_led function such that they can take a triggering
device. If no parameter is passed, behaviour is unchanged.
Signed-off-by: P.Wassi <p.wassi@gmx.at>
2016-07-24 06:38:30 +02:00
Michael Lee
0d5277f73f ramips: dch-m225 don't have ethernet. default enable wifi
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-07-24 06:38:30 +02:00
Paul Wassi
104114fe00 ramips: remove indentation in etc/board.d/01_leds
Remove indentation at end of line in base-files/etc/board.d/01_leds
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2016-07-24 06:38:29 +02:00
John Crispin
6674006bd0 ramips: add missing i2s alias
Signed-off-by: John Crispin <john@phrozen.org>
2016-07-24 06:38:29 +02:00
Jo-Philipp Wich
b051ac76e8 ramips: mt7621: add missing kernel symbol
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-07-16 13:59:12 +02:00
Hauke Mehrtens
efa1960abb kernel: update kernel 4.4 to version 4.4.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-07-13 15:39:15 +02:00
Michael Lee
9062c4fe99 ramips: modify audio kernel module and add dma options
* add gdma and hsdma kernel modules
* i2s support all ramips targets except rt288x
* i2s need gdma to transfer data
* add simple audio kernel module. it support device tree binding

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-07-11 14:19:47 +02:00
Michael Lee
c3e420f28c ramips: Add support for D-Link DCH-M225
D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash,
3.5mm audio out support. but no ethernet and usb ports.
so you must default enable wifi.

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-07-11 14:19:47 +02:00
Michael Lee
36d98e6c7a ramips: add MT7620 pinmux bits for mdio as refclk
The MT7620 uses a 2 bit wide configuration of the mdio.

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-07-11 14:19:47 +02:00
Michael Lee
0460e9ffca ramips: enable MTD_SPLIT_SEAMA_FW for mt7620
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-07-11 14:19:47 +02:00
L. D. Pinney
cf8c77be6b ramips: Add support for the NixCore X1 Module
The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module.

http://nixcores.com/

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Drew Gaylo <drew@nixcores.com>
2016-07-11 14:19:47 +02:00
Rene Treffer
8876575601 ramips: fix partition size for RT5350F-OLINUXINO
The partition size is wrong, leading to out-of-disk-space even on no/moderate use.

Upstream fix from vendor: 2f25eb57ed
Suggested fix for openwrt: https://dev.openwrt.org/ticket/20321

Signed-off-by: Rene Treffer <treffer@measite.de>
2016-07-11 14:19:47 +02:00
John Crispin
252f751611 ramips: fix usb phy initialisation
this broke usb20 device detection.

Signed-off-by: John Crispin <john@phrozen.org>
2016-07-11 14:19:46 +02:00
Felix Fietkau
201dbb9fe8 ramips: fix build error in ubnt-erx initramfs factory image
Build initramfs kernel image, but skip factory image if initramfs size
is too big.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-06 10:12:37 +02:00
John Crispin
eca1021e5c ramips: fix buffalo wmr-300 lan port
Signed-off-by: John Crispin <john@phrozen.org>
2016-07-05 22:59:14 +02:00
John Crispin
2c9073282d ramips: fix MT7621 gsw handling
based on https://forum.openwrt.org/viewtopic.php?pid=323671#p323671

Signed-off-by: John Crispin <john@phrozen.org>
2016-07-05 22:59:13 +02:00
John Crispin
69a626b441 ramips: fix mt7621 SoC detection
Signed-off-by: John Crispin <john@phrozen.org>
2016-07-05 22:59:13 +02:00
John Crispin
d09f0045ea ramips: fix up switch settings for Sitecom WL-351 v1 002
Pinmux for rgmii needs to be set to rgmii, not gpio.
Hide the ESW switch on boot (using new rgmii esw devicetree attribute).
Also add a Sitecom-specific profile, since the image needs to include
the rtl8366 kernel driver.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
2016-07-03 08:00:26 +02:00
John Crispin
2dc9beddc0 ramips: disable the WP pin on the SDK mmc driver
Signed-off-by: John Crispin <john@phrozen.org>
2016-06-30 22:48:39 +02:00
John Crispin
81add8f753 ramips: fix pinmux typo
Reported-by: Joy Kicer <joykicer@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
2016-06-30 22:48:39 +02:00
Matthias Schiffer
0a0caa2656
ramips: set correct LAN/WAN MAC addresses on DIR-860L B1
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 17:12:38 +02:00
Matthias Schiffer
103ed00cfb
ramips: add button support and make LEDs known to userspace for DIR-860L B1
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 17:12:38 +02:00
Matthias Schiffer
fa9811814a
ramips: fix fixseama call on first boot
Commit "kernel: mtdsplit: calculate kernel partition precisely for Seama"
changed the kernel partition to only contain the kernel itself and not
the Seama header. Adjust the fixseama call to match what is used on
brcm53xx.

This fixes failing to boot a second time after flashing the factory image
on the affected devices.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
2016-06-30 17:12:38 +02:00
Hauke Mehrtens
84d489f64f kernel: update to version 4.4.14
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14

Some manual changes to target/linux/generic/patches-4.4/610-
netfilter_match_bypass_default_checks.patch were needed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-06-26 18:20:37 +02:00
Roger Pueyo Centelles
5fba0f0c0c ramips: add suport for ZBT APE522II
The ZBT APE522II is a dual-radio outdoor CPE based on the MT7620a SoC. It has
64 MB RAM, 8 MB flash, 2 Fast Ethernet ports via internal switch (one with
802.3af 48V PoE support), a 802.11b/g/n SoC 2.4 GHz radio and an 802.11a/n/ac
MT7612E-based 5 GHz radio.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2016-06-22 19:32:06 +02:00
Michael Lee
81913e4996 ramips: remove duplicate i2c dts info
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-20 11:45:44 +02:00
Michael Lee
60ccfbbad0 ramips: update i2c drivers
* 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>
2016-06-20 11:45:44 +02:00
John Crispin
b180f24a3b Revert "ramips: update i2c drivers"
This reverts commit d8202a8409.

the commit broke I2C on various boards.

Signed-off-by: John Crispin <john@phrozen.org>
2016-06-17 04:13:07 +02:00
John Crispin
bfcbca3e04 mediatek/ralink: fix boardnames
Signed-off-by: John Crispin <john@phrozen.org>
2016-06-14 13:00:30 +02:00
Jo-Philipp Wich
5550d98015 ramips: fix kmod-sound-mt7620 packaging
Commit 9ff8928bb9 renamed the snd-soc-mt7620-i2s
driver and dropped snd-soc-mt7620-wm8960 which selected CONFIG_SND_SOC_WM8960
breaking all ramips builds due to undefined kernel config symbols.

Rework the kmod-sound-mt7620 package to explicitely select the
CONFIG_SND_SOC_WM8960 symbols and change it to bundle the renamed .ko file.

Also remove the @BROKEN flag and exclude it on the rt288x subtarget instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-14 14:31:18 +02:00
Henryk Heisig
01fb393c67 ramips/image: Add Archer C50 to mt7620 Makefile
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
2016-06-13 22:51:43 +02:00
Henryk Heisig
75af981239 ramips/base-files: Add support for Archer C50
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
2016-06-13 22:51:43 +02:00
Henryk Heisig
1c00c09eb6 ramips/dts: Add support for Archer C50
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
2016-06-13 22:51:43 +02:00
Michael Lee
9a4935687d ramips: add support for DuZun DM06
DuZun DM06 is a develop board based on mt7628
64M RAM, 8M SPI Flash, 1 WAN, 1 LAN.
wm8960 codec with line out, line in and speaker output.

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:43 +02:00
Michael Lee
49b7421836 ramips: enable wm8960 kernel menuconfig select option
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:43 +02:00
Michael Lee
6f61990d15 ramips: add i2s clocks
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:43 +02:00
Michael Lee
921d782eb7 ramips: update i2s dtsi files
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:42 +02:00
Michael Lee
9ff8928bb9 ramips: improve i2s drivers
* remove mt7620-wm8960.c use simple card and DTS to do it
* add old chips support
* add 12Mhz refclk setup. this is hard code. need use clock framework
  rewrite it
* add interrupt error status support for debug. default disable it.
  because it cause to many interrupts
* add setup bclk suport not hard code it
* add 24 bits support for mt7628. not verified
* use regmap api to control registers
* add txdma-req/rxdma-req DTS params for DMA use

Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:42 +02:00
Michael Lee
42bbe28cf1 ramips: add i2c clock
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:42 +02:00
Michael Lee
011ce1fad6 ramips: update i2c dtsi files
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:42 +02:00
Michael Lee
d8202a8409 ramips: update i2c drivers
* 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>
2016-06-13 22:51:42 +02:00
Michael Lee
f36d624d88 ramips: add gdma hsdma dts info
Signed-off-by: Michael Lee <igvtee@gmail.com>
2016-06-13 22:51:42 +02:00
Michael Lee
f6fc591561 ramips: enhance dma engine support
* 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>
2016-06-13 22:51:42 +02:00
Álvaro Fernández Rojas
0aa6c7df60 kernel: update kernel 4.4 to version 4.4.13
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-12 15:51:54 +02:00
Felix Fietkau
7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Joseph C. Lehner
065de8bd7a ramips: fix Netgear EX2700 images
Calling `cat foo bar | dd ... conv=sync` *may* add
extraneous padding. Avoid this.

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
2016-06-05 23:23:57 +02:00
Joseph C. Lehner
8b0fbd8e70 ramips: rebrand Netgear EX2700 fakeroot uImage
Change image name: "OpenWrt fakeroot" -> "LEDE fakeroot"

Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
2016-06-05 23:23:57 +02:00
Álvaro Fernández Rojas
29b412b8c5 ramips: add kmod-pwm-mediatek for mt7628/mt7688
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-03 13:24:25 +02:00
Álvaro Fernández Rojas
604b92dbd0 ramips: fix the number of uarts for each SoC
- 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>
2016-06-03 12:20:33 +02:00
Álvaro Fernández Rojas
243e79e10c ramips: fix Mi Wi-Fi Nano Wireless LED pinmux
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-03 12:19:57 +02:00
Álvaro Fernández Rojas
a105eac4dd kernel: update kernel 4.4 to version 4.4.12
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-06-02 15:34:34 +02:00
Yuan Chenmang
b38296f2f6 ramips: add Widora-NEO board support
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>
2016-06-01 12:52:28 +02:00
Joseph C. Lehner
2a589539ba ramips: fix Netgear EX2700 images
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>
2016-05-30 22:52:59 +02:00
Joseph C. Lehner
b232669d45 ramips: fix Netgear EX2700 images
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>
2016-05-27 15:50:18 +02:00
Álvaro Fernández Rojas
2a57a54d49 ramips: add backported MT7628 pinmux fixes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-29 11:26:41 +02:00
Cezary Jackiewicz
af1e70b4a7 ramips: Add status led for Xiaomi MiWiFi Nano
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
2016-05-23 22:43:37 +02:00
John Crispin
bf6634339a ramips: fix timing issues when using MT7621 spi
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-23 20:22:22 +02:00
John Crispin
c7efbd7dbb ramips: Add specific compatible properties for esw
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>
2016-05-23 11:28:59 +02:00
Cezary Jackiewicz
2965430999 ramips: cleanup for Hame MPR-A2
- 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>
2016-05-23 11:03:23 +02:00
Felix Fietkau
5166732a4e ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-21 15:16:37 +02:00
Felix Fietkau
82dcbec727 ramips: remove fake vlan rx offload from ethernet driver
The network stack does not need it to do GRO

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-20 14:01:21 +02:00
Álvaro Fernández Rojas
3bc90f9626 ramips: use backported upstream patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-19 17:48:41 +02:00
Álvaro Fernández Rojas
638d509817 ramips: fix pinctrl regression
This regression was introduced in commit 9195d8da.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-18 22:08:39 +02:00
Álvaro Fernández Rojas
29db5cae43 ramips: fix spidev generic nodes
Use linux,spidev compatible string.
Move MZK-DP150N spidev to spi1 node.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-18 22:08:39 +02:00
Álvaro Fernández Rojas
021c893658 ramips: fix size-cells on spi nodes
size-cells should be 0 in order to avoid dummy values in reg properties.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-05-18 16:57:39 +02:00
John Crispin
2a6b899589 ramips: fix 8M WT3020 image creation
fix image size for 8M version : 4M -> 8M

Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
2016-05-16 20:59:06 +02:00
John Crispin
1d9c0b2409 ramips: fix ArcherC20i image creation - 3rd try
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-15 11:59:43 +02:00
Felix Fietkau
ce009d16a1 ramips: fix Archer C20i image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-15 14:11:26 +02:00
John Crispin
5d0eff9801 ramips: set default profile to priority 1
doing so will sort all profiles alphabetically

Signed-off-by: John Crispin <john@phrozen.org>
2016-05-14 21:27:16 +02:00
John Crispin
7697aced24 ramips: fix ArcherC20i image creation
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-14 21:26:05 +02:00
Felix Fietkau
27dfe64887 ramips/mt7621: remove cflags override
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-14 17:58:43 +02:00
Álvaro Fernández Rojas
20b069c440 ramips: disable unused ethernet ports on VoCore
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>
2016-05-14 12:40:03 +02:00
Felix Fietkau
7fab5dc486 ramips: fix indentation of Build/* template commands
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 19:49:38 +02:00
John Crispin
f10d2bb6d3 ramips: add wmac nodes to all mt7628/88 dts files
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
Andrew Yong
8c9b8d70b1 ramips: add status led for ZBT-WE826
Signed-off-by: Andrew Yong <me@ndoo.sg>
2016-05-12 03:29:36 +02:00
John Crispin
4220cc3255 ramips: convert mt7620 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
John Crispin
ecbaaa401a ramips: convert mt7688 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
John Crispin
0f12f32996 ramips: convert mt7628 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
John Crispin
825717d450 ramips: convert mt7621 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
John Crispin
a55f0c32fa ramips: convert rt2880 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00
Stanislav Galabov
ffaaa6788a ramips: DTS modifications
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>
2016-05-12 03:29:36 +02:00
John Crispin
b8ab6af1a9 global: change my email address
Signed-off-by: John Crispin <john@phrozen.org>
2016-05-12 03:29:36 +02:00