aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi')
-rw-r--r--target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
index 89e9b2fbb7..3d256baa0e 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
@@ -158,6 +158,25 @@
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
+
+ /* all WNDR3700 variants have four antennae dedicated
+ * to the 2.4GHz radio. Two antennae are available for
+ * each chain. The following configuration is the
+ * default setting which taken from the vendor's wifi
+ * code for that radio.
+ *
+ * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
+ * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
+ */
+ antenna-demux {
+ gpio-hog;
+ line-name = "fixed antenna group 1";
+ gpios = <6 GPIO_ACTIVE_LOW>,
+ <7 GPIO_ACTIVE_HIGH>,
+ <8 GPIO_ACTIVE_LOW>,
+ <9 GPIO_ACTIVE_HIGH>;
+ output-high;
+ };
};
ath9k1: wifi@0,12 {