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