|
@@ -7,15 +7,30 @@
|
|
|
/ {
|
|
/ {
|
|
|
compatible = "tplink,tl-wr841-v7", "qca,ar7241";
|
|
compatible = "tplink,tl-wr841-v7", "qca,ar7241";
|
|
|
model = "TP-Link TL-WR841N/ND v7";
|
|
model = "TP-Link TL-WR841N/ND v7";
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+&art_part {
|
|
|
|
|
+ nvmem-layout {
|
|
|
|
|
+ compatible = "fixed-layout";
|
|
|
|
|
+ #address-cells = <1>;
|
|
|
|
|
+ #size-cells = <1>;
|
|
|
|
|
+
|
|
|
|
|
+ cal_art_1000: calibration@1000 {
|
|
|
|
|
+ reg = <0x1000 0x3d8>;
|
|
|
|
|
+ };
|
|
|
|
|
+ };
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
- ath9k-leds {
|
|
|
|
|
- compatible = "gpio-leds";
|
|
|
|
|
|
|
+&pcie {
|
|
|
|
|
+ ath9k: wifi@0,0 {
|
|
|
|
|
+ compatible = "pci168c,002e";
|
|
|
|
|
+ reg = <0x0000 0 0 0 0>;
|
|
|
|
|
+ nvmem-cells = <&cal_art_1000>, <&macaddr_uboot_1fc00 0>;
|
|
|
|
|
+ nvmem-cell-names = "calibration", "mac-address";
|
|
|
|
|
|
|
|
- wlan {
|
|
|
|
|
- function = LED_FUNCTION_WLAN;
|
|
|
|
|
- color = <LED_COLOR_ID_GREEN>;
|
|
|
|
|
- gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
|
|
|
|
|
- linux,default-trigger = "phy0tpt";
|
|
|
|
|
|
|
+ led {
|
|
|
|
|
+ led-sources = <0>;
|
|
|
|
|
+ led-active-low;
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|