[openwrt/openwrt] ramips: mt7620: add missing PA/LNA pinctrl for Linksys E1700

LEDE Commits lede-commits at lists.infradead.org
Wed Feb 12 15:33:39 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/9b05ca988c3a778c42d12dd34d9f7aa56c953cb6

commit 9b05ca988c3a778c42d12dd34d9f7aa56c953cb6
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Sat Feb 8 09:21:15 2025 +0800

    ramips: mt7620: add missing PA/LNA pinctrl for Linksys E1700
    
    This device has high-power external PA and LNA[1]. So we must
    configure PA/LNA pins to make the wireless work properly.
    
    [1] https://fccid.io/Q87-E1700/Internal-Photos/Internal-Photos-pdf-2135639.pdf
    Fixes: https://github.com/openwrt/openwrt/issues/7959
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/17892
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 3aa9b708364fd4a46c8466750f51069e22f3dde7)
---
 target/linux/ramips/dts/mt7620a_linksys_e1700.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target/linux/ramips/dts/mt7620a_linksys_e1700.dts b/target/linux/ramips/dts/mt7620a_linksys_e1700.dts
index caa6780d60..4dca56cd7e 100644
--- a/target/linux/ramips/dts/mt7620a_linksys_e1700.dts
+++ b/target/linux/ramips/dts/mt7620a_linksys_e1700.dts
@@ -167,6 +167,10 @@
 };
 
 &wmac {
+	pinctrl-names = "default", "pa_gpio";
+	pinctrl-0 = <&pa_pins>;
+	pinctrl-1 = <&pa_gpio_pins>;
+
 	nvmem-cells = <&eeprom_factory_0>;
 	nvmem-cell-names = "eeprom";
 };




More information about the lede-commits mailing list