History log of /openwrt/target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c
Revision Date Author Comments
# f5c08bb5 13-Apr-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x: fix ethernet packet loss issues

The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40509 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 133fb261 23-Feb-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x: register GPIO LEDs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39704 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 2ad25c9d 23-Feb-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x: add SPI device for the serial shift register

The RB91x boards are using a serial shift register
connected to the SPI bus to drive some of the LEDs.

Rework the board setup code to register a SPI device
for that. This makes it possible to use the 'spi-74x164'
driver to control the device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39703 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 55d0d060 23-Feb-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x-nand: rewrite to use GPIO API

Rewrite tha rb91x-nand driver to use GPIO API to
modify the NAND control lines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39700 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 81b220fd 22-Feb-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x: register a gpio-latch platform device

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39699 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 478a6016 20-Feb-2014 Gabor Juhos <juhosg@openwrt.org>

ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss

When the RB91x device uses a GbE link the connection
suffers from packet loss:

root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
PING 192.168.1.254 (192.168.1.254): 65507 data bytes

--- 192.168.1.254 ping statistics ---
20 packets transmitted, 9 packets received, 55% packet loss
round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
PING 192.168.1.254 (192.168.1.254): 65507 data bytes

--- 192.168.1.254 ping statistics ---
100 packets transmitted, 100 packets received, 0% packet loss
round-trip min/avg/max = 4.449/5.413/13.870 ms

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39642 3c298f89-4303-0410-b956-a3cf2f4a3e73


# b84c8ab1 16-Dec-2013 Gabor Juhos <juhosg@openwrt.org>

ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards

It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39102 3c298f89-4303-0410-b956-a3cf2f4a3e73