aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorYushi Nishida <kyro2man@gmx.net>2020-11-27 21:54:22 +0100
committerChristian Lamparter <chunkeey@gmail.com>2020-12-13 16:12:45 +0100
commit5e9a5c15bad044820f89f6bc7e490639ef04cc77 (patch)
treeec156879db6f66b02d5c9e7f9ba6e1718518908a /target/linux
parent8b870418f18d86761247633e57560ffa1c2485d0 (diff)
downloadupstream-5e9a5c15bad044820f89f6bc7e490639ef04cc77.tar.gz
upstream-5e9a5c15bad044820f89f6bc7e490639ef04cc77.tar.bz2
upstream-5e9a5c15bad044820f89f6bc7e490639ef04cc77.zip
ipq40xx: fix 5Ghz tx/rx power on the ASUS MAP-AC2200
The ASUS MAP-AC2200 suffers from a lower transmit/receive signal power as compared to the stock firmware. Upon investigation, it was discovered that stock firmware from the GPL_MAP-AC2200_3.0.0.4.384.46249-g97d05bb.tar archive. set the following GPIOs in "release/src/router/rc/init.c". GPIO 44 and 46 have to be set to output high GPIO 45 and 47 have to be set to output low Here are some results, after activating the relevant gpios through cmdline: <https://forum.openwrt.org/t/asus-map-ac2200-low-transmit-receive-signal-5ghz/69005/12> THX @ slh Fixes: 9ad3967f140 ("ipq40xx: add support for ASUS Lyra") Signed-off-by: Yushi Nishida <kyro2man@gmx.net> [slightly rewritten commit, added missing <>) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts
index 5b86605daa..3b9078bc08 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts
@@ -176,6 +176,22 @@
bias-pull-down;
};
};
+ enable_ext_pa_high {
+ gpio-hog;
+ gpios = <44 GPIO_ACTIVE_HIGH>,
+ <46 GPIO_ACTIVE_HIGH>;
+ output-high;
+ bias-pull-down;
+ line-name = "enable external PA output-high";
+ };
+ enable_ext_pa_low {
+ gpio-hog;
+ gpios = <45 GPIO_ACTIVE_HIGH>,
+ <47 GPIO_ACTIVE_HIGH>;
+ output-low;
+ bias-pull-down;
+ line-name = "enable external PA output-low";
+ };
};
&cryptobam {