diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-11-26 01:01:15 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-29 21:40:16 +0100 |
commit | a20616863d32d91163043b6657a63c836bd9c5ba (patch) | |
tree | f61732ad0a3aa68cd56ccd237e08bbdbdcf6bf0f /target/linux/lantiq/dts/FRITZ3370.dts | |
parent | 448b9b67e15b85994562a2e585028c0595148a98 (diff) | |
download | mtk-20170518-a20616863d32d91163043b6657a63c836bd9c5ba.zip mtk-20170518-a20616863d32d91163043b6657a63c836bd9c5ba.tar.gz mtk-20170518-a20616863d32d91163043b6657a63c836bd9c5ba.tar.bz2 |
lantiq: use ath9k device tree bindings binding/owl-loader
This moves the extraction of the eeprom/calibration data to a hotplug
firmware script. Additionally it modifies all .dts to configure ath9k
directly from within the .dts.
The owl-loader approach enables support on devices with exotic eeprom
data locations (such as unaligned positions on the flash or data
inside an UBI volume).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
[add ath9k caldata mac address patcher]
[fixes DGN3500 wifi mac]
[fixes BTHOMEHUBV3A wifi mac]
[set invalid mac for BTHOMEHUB2B, FRITZ3370, FRITZ7320 & FRITZ7360SL to restore previous random mac behavior]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/dts/FRITZ3370.dts')
-rw-r--r-- | target/linux/lantiq/dts/FRITZ3370.dts | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 2580674..1e2e90c 100644 --- a/target/linux/lantiq/dts/FRITZ3370.dts +++ b/target/linux/lantiq/dts/FRITZ3370.dts @@ -118,13 +118,6 @@ }; }; - ath9k_eep { - compatible = "ath9k,eeprom"; - ath,eep-flash = <&ath9k_cal 0x985>; - ath,eep-endian; - ath,eep-swap; - }; - gphy-xrx200 { compatible = "lantiq,phy-xrx200"; firmware = "lantiq/vr9_phy11g_a1x.bin"; @@ -196,7 +189,7 @@ reg = <4 0>; spi-max-frequency = <1000000>; - ath9k_cal: partition@0 { + partition@0 { reg = <0x0 0x20000>; label = "urlader"; read-only; @@ -275,3 +268,19 @@ }; }; }; + +&pcie0 { + pcie@0 { + reg = <0 0 0 0 0>; + #interrupt-cells = <1>; + #size-cells = <2>; + #address-cells = <3>; + device_type = "pci"; + + wifi@0,0 { + compatible = "pci0,0"; + reg = <0 0 0 0 0>; + qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */ + }; + }; +}; |