Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17892
Signed-off-by: Hauke Mehrtens <[email protected]>
Shiji Yang 1 year ago
parent
commit
3aa9b70836
1 changed files with 4 additions and 0 deletions
  1. 4 0
      target/linux/ramips/dts/mt7620a_linksys_e1700.dts

+ 4 - 0
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";
 };