mirror of https://github.com/aredn/aredn.git
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:
parent
bf944dface
commit
ff0a08dc3c
|
@ -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";
|
||||
- };
|
||||
-};
|
||||
|
||||
ð1 {
|
||||
status = "okay";
|
|
@ -17,6 +17,7 @@
|
|||
001-add_support_for_TP-Link_CPE510_v3.20.patch
|
||||
001-ath79-cpe220v3-sysupgrade-supported.patch
|
||||
001_cpe220v3_bugfix.patch
|
||||
001-ath79-cpexxx_lna.patch
|
||||
004-add-lhg-5hpnd-xl.patch
|
||||
004-add-ldf-5nd.patch
|
||||
005-add-haplite-new-model.patch
|
||||
|
|
Loading…
Reference in New Issue