openwrtv4/target/linux/lantiq
John Crispin 81ddc886e1 dgn3500 support with eeprom loading from sysfs
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules.  I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.

SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.

Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.

Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>

SVN-Revision: 31910
2012-05-27 16:02:22 +00:00
..
ar9 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values. 2012-05-27 16:02:16 +00:00
ase Add 3.3 config files 2012-05-09 12:52:24 +00:00
base-files dgn3500 support with eeprom loading from sysfs 2012-05-27 16:02:22 +00:00
danube Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values. 2012-05-27 16:02:16 +00:00
falcon linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
files-3.2/arch/mips update 3.2 patches 2012-04-12 12:33:56 +00:00
files-3.3/arch/mips dgn3500 support with eeprom loading from sysfs 2012-05-27 16:02:22 +00:00
image Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values. 2012-05-27 16:02:16 +00:00
patches-3.2 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes 2012-05-06 21:19:14 +00:00
patches-3.3 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values. 2012-05-27 16:02:16 +00:00
vr9 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values. 2012-05-27 16:02:16 +00:00
base-files.mk lantiq: add runtime generation of /etc/config/network 2011-11-15 18:21:00 +00:00
config-3.2 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
config-3.3 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
Makefile kernel: update linux 3.3 to 3.3.7 2012-05-23 21:05:32 +00:00
modules.mk bump kernel to 3.2.12 2012-03-25 08:50:09 +00:00