aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorThomas Huehn <thomas.huehn@hs-nordhausen.de>2020-12-02 11:24:07 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-12-02 16:28:19 +0100
commitf330f991c1dcb483a1966d2d194afc2a40cd30fd (patch)
treebcfc3b5ba549056c3974f1b37532888bcd1949ef /target/linux/ath79/dts
parent36db12b883e581c9cdbb79395c2d9316d820cbbd (diff)
downloadupstream-f330f991c1dcb483a1966d2d194afc2a40cd30fd.tar.gz
upstream-f330f991c1dcb483a1966d2d194afc2a40cd30fd.tar.bz2
upstream-f330f991c1dcb483a1966d2d194afc2a40cd30fd.zip
ath79: enable LNA for all ar9344 TPLink CPE devices
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>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/ar9344_tplink_cpe.dtsi16
-rw-r--r--target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi16
2 files changed, 16 insertions, 16 deletions
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
index 6917e5e955..4e9401e60b 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
@@ -114,3 +114,19 @@
&eth1 {
status = "okay";
};
+
+&gpio {
+ gpio_ext_lna0 {
+ gpio-hog;
+ gpios = <18 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "tp-link:ext:lna0";
+ };
+
+ gpio_ext_lna1 {
+ gpio-hog;
+ gpios = <19 GPIO_ACTIVE_HIGH>;
+ output-high;
+ line-name = "tp-link:ext:lna1";
+ };
+};
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi
index 1fce869160..e7d33ab22b 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi
@@ -44,22 +44,6 @@
};
};
-&gpio {
- gpio_ext_lna0 {
- gpio-hog;
- gpios = <18 0>;
- output-high;
- line-name = "tp-link:ext:lna0";
- };
-
- gpio_ext_lna1 {
- gpio-hog;
- gpios = <19 0>;
- output-high;
- line-name = "tp-link:ext:lna1";
- };
-};
-
&eth1 {
mtd-mac-address = <&info 0x8>;