uclient: update to Git HEAD (2024-04-19)
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7161_netgear_wndr3700.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar7161_netgear_wndr.dtsi"
5
6 / {
7 compatible = "netgear,wndr3700", "qca,ar7161";
8 model = "Netgear WNDR3700";
9 };
10
11 &partitions {
12 partition@0 {
13 label = "u-boot";
14 reg = <0x000000 0x050000>;
15 read-only;
16 };
17
18 partition@50000 {
19 label = "u-boot-env";
20 reg = <0x050000 0x020000>;
21 };
22
23 partition@70000 {
24 label = "firmware";
25 reg = <0x070000 0x780000>;
26 compatible = "netgear,uimage";
27 };
28
29 art: partition@7f0000 {
30 label = "art";
31 reg = <0x7f0000 0x010000>;
32 read-only;
33 };
34 };
35
36 &ath9k1 {
37 /* The original WNDR3700(v1) variant have four antennae dedicated
38 * to the 5GHz radio as well. Again, two antennae are available for
39 * each chain to switch between. The following configuration is the
40 * default setting which taken from the vendor's wifi
41 * code for that radio.
42 *
43 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
44 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
45 */
46 antenna-demux {
47 gpio-hog;
48 line-name = "fixed antenna group 2";
49 gpios = <6 GPIO_ACTIVE_LOW>,
50 <7 GPIO_ACTIVE_HIGH>,
51 <8 GPIO_ACTIVE_HIGH>,
52 <9 GPIO_ACTIVE_LOW>;
53 output-high;
54 };
55 };