aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/ARV7518PW.dts
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-06-10 08:25:12 +0000
committerJohn Crispin <blogic@openwrt.org>2013-06-10 08:25:12 +0000
commit6c95162c3415f4376d91f59cc4e85994a164dea8 (patch)
treef014cc765bc9fd9a0d48fc25592b7b82771776be /target/linux/lantiq/dts/ARV7518PW.dts
parent46a5493d4880e73fec2b779dbb02ecb3bfb1a190 (diff)
downloadmaster-187ad058-6c95162c3415f4376d91f59cc4e85994a164dea8.tar.gz
master-187ad058-6c95162c3415f4376d91f59cc4e85994a164dea8.tar.bz2
master-187ad058-6c95162c3415f4376d91f59cc4e85994a164dea8.zip
lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one. EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash. No need to keep the checksum fix now that the EEPROM is loaded completely. Add a manual eeprom swap for ath9k and keep the endian way. Use mac-offset property retrieved from the DTS. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/ARV7518PW.dts')
-rw-r--r--target/linux/lantiq/dts/ARV7518PW.dts5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index 70e7d8e57c..e76abb5787 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -69,12 +69,11 @@
ath9k_eep {
compatible = "ath9k,eeprom";
- reg = <0 0x7f0400 0x800
+ reg = <0 0x7f0400 0x1000
0 0x7f0016 0x6>;
ath,mac-increment = <1>;
ath,pci-slot = <14>;
- ath,eep-swap;
- ath,eep-csum;
+ ath,eep-endian;
};
};