f330f991c1
The TPLink CPE devices CPE210/CPE510 based on ar9344 have a build-in Low Noise Amplifier on both of the 2x2 mimo rx chains. This patch activates those two LNAs in the respective receiving chains and hence improves the RX sensitivity by about 20dB. Tested on CPE510 v2 & v3. Signed-off-by: Thomas Huehn <thomas.huehn@hs-nordhausen.de> Acked-by: Robert Marko <robimarko@gmail.com>
56 lines
850 B
Plaintext
56 lines
850 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "ar9344_tplink_cpe.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
led-boot = &led_link4;
|
|
led-failsafe = &led_link4;
|
|
led-running = &led_link4;
|
|
led-upgrade = &led_link4;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
lan0 {
|
|
label = "green:lan0";
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
lan1 {
|
|
label = "green:lan1";
|
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
link1 {
|
|
label = "green:link1";
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
link2 {
|
|
label = "green:link2";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
link3 {
|
|
label = "green:link3";
|
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
led_link4: link4 {
|
|
label = "green:link4";
|
|
};
|
|
};
|
|
};
|
|
|
|
ð1 {
|
|
mtd-mac-address = <&info 0x8>;
|
|
|
|
gmac-config {
|
|
device = <&gmac>;
|
|
switch-phy-swap = <0>;
|
|
switch-only-mode = <1>;
|
|
};
|
|
};
|