aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/FRITZ7320.dts
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-11-26 01:01:15 +0100
committerMathias Kresin <dev@kresin.me>2016-11-29 21:40:16 +0100
commita20616863d32d91163043b6657a63c836bd9c5ba (patch)
treef61732ad0a3aa68cd56ccd237e08bbdbdcf6bf0f /target/linux/lantiq/dts/FRITZ7320.dts
parent448b9b67e15b85994562a2e585028c0595148a98 (diff)
downloadupstream-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/FRITZ7320.dts')
-rw-r--r--target/linux/lantiq/dts/FRITZ7320.dts26
1 files changed, 12 insertions, 14 deletions
diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts
index 4cc4915312..4eb5fc4fe3 100644
--- a/target/linux/lantiq/dts/FRITZ7320.dts
+++ b/target/linux/lantiq/dts/FRITZ7320.dts
@@ -65,14 +65,6 @@
};
};
- ath9k_eep {
- compatible = "ath9k,eeprom";
- ath,eep-flash = <&ath9k_cal 0x985>;
- ath,device-id = /bits/ 16 <0xff1d 0x2d>;
- ath,eep-endian;
- ath,eep-swap;
- };
-
gpio: pinmux@E100B10 {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
@@ -103,12 +95,6 @@
ifxhcd@E101000 {
status = "okay";
};
-
- pci@E105400 {
- status = "okay";
- req-mask = <0xf>;
- gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
- };
};
gpio-keys-polled {
@@ -158,3 +144,15 @@
};
};
};
+
+&pci0 {
+ status = "okay";
+ req-mask = <0xf>;
+ gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
+
+ wifi@0,0 {
+ compatible = "pci0,0";
+ reg = <0x7000 0 0 0 0>;
+ qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
+ };
+};