mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
a20616863d
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>
35 lines
586 B
Plaintext
35 lines
586 B
Plaintext
/dts-v1/;
|
|
|
|
#include "TDW89X0.dtsi"
|
|
|
|
/ {
|
|
model = "TDW8980 - TP-LINK TD-W8980";
|
|
|
|
fpi@10000000 {
|
|
gpio: pinmux@E100B10 {
|
|
state_default: pinmux {
|
|
pci_rst {
|
|
lantiq,pins = "io21";
|
|
lantiq,output = <1>;
|
|
lantiq,open-drain;
|
|
};
|
|
};
|
|
};
|
|
|
|
pci@E105400 {
|
|
status = "okay";
|
|
lantiq,bus-clock = <33333333>;
|
|
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
|
|
interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
|
|
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
wifi2 {
|
|
label = "tdw8980:green:wlan5ghz";
|
|
gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|