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/BTHOMEHUBV5A.dts | |
parent | 448b9b67e15b85994562a2e585028c0595148a98 (diff) | |
download | upstream-a20616863d32d91163043b6657a63c836bd9c5ba.tar.gz upstream-a20616863d32d91163043b6657a63c836bd9c5ba.tar.bz2 upstream-a20616863d32d91163043b6657a63c836bd9c5ba.zip |
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/BTHOMEHUBV5A.dts')
-rw-r--r-- | target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts index f99d32e071..2dea927095 100644 --- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts +++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts @@ -111,11 +111,6 @@ status = "okay"; gpios = <&gpio 33 GPIO_ACTIVE_HIGH>; }; - - pci@E105400 { - status = "okay"; - gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; - }; }; gphy-xrx200 { @@ -125,14 +120,6 @@ phys = [ 00 01 ]; }; - ath9k_eep { - compatible = "ath9k,eeprom"; - ath,eep-flash = <&caldata 0x1000>; - ath,mac-offset = <0x110c>; - ath,mac-increment = <2>; - ath,pci-slot = <0xe>; /* 14 */ - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -211,6 +198,20 @@ }; }; +&pci0 { + status = "okay"; + gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; + + wifi@168c,002d { + compatible = "pci168c,002d"; + reg = <0x7000 0 0 0 0>; + qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */ + qca,disable-5ghz; + mtd-mac-address = <&caldata 0x110c>; + mtd-mac-address-increment = <2>; + }; +}; + ð0 { lan: interface@0 { compatible = "lantiq,xrx200-pdi"; |