From: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Date: Wed, 4 Sep 2019 09:29:12 +0000 (+0200)
Subject: ramips: enable external amplifier for D-Link DIR-810L
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e667d6f46b5fa9ade5da1d76c8cc1aab1df1dcb6;p=openwrt%2Fstaging%2Fblogic.git

ramips: enable external amplifier for D-Link DIR-810L

The 2.4 GHz radio had very poor signal reception (-89 dBm for an AP
sitting 5 m away). By enabling the external amplifier, received signal
has improved to -50 dBm for the same AP.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
---

diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
index d728449a481f..f440c035361a 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
@@ -143,6 +143,8 @@
 
 &wmac {
 	ralink,mtd-eeprom = <&factory 0>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pa_pins>;
 };
 
 &pcie0 {