ath79: Enable the LNA for ALL for the TP-Link CPExxx Devices based on the AR9344

This should improve the Power Levels for the 1 Port Devices.
This commit is contained in:
apcameron 2020-12-03 20:17:57 -06:00 committed by Joe AE6XE
parent bf944dface
commit ff0a08dc3c
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,47 @@
--- a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
@@ -110,3 +110,20 @@
mtd-mac-address = <&info 0x8>;
};
+
+&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";
+ };
+};
--- a/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe_2port.dtsi
@@ -44,21 +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 {
status = "okay";

View File

@ -17,6 +17,7 @@
001-add_support_for_TP-Link_CPE510_v3.20.patch 001-add_support_for_TP-Link_CPE510_v3.20.patch
001-ath79-cpe220v3-sysupgrade-supported.patch 001-ath79-cpe220v3-sysupgrade-supported.patch
001_cpe220v3_bugfix.patch 001_cpe220v3_bugfix.patch
001-ath79-cpexxx_lna.patch
004-add-lhg-5hpnd-xl.patch 004-add-lhg-5hpnd-xl.patch
004-add-ldf-5nd.patch 004-add-ldf-5nd.patch
005-add-haplite-new-model.patch 005-add-haplite-new-model.patch