1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar7161_netgear_wndr.dtsi"
6 compatible = "netgear,wndr3700", "qca,ar7161";
7 model = "Netgear WNDR3700";
10 label-mac-device = ð0;
17 reg = <0x000000 0x050000>;
23 reg = <0x050000 0x020000>;
28 reg = <0x070000 0x780000>;
29 compatible = "openwrt,uimage", "denx,uimage";
30 openwrt,ih-magic = <0x33373030>;
31 openwrt,ih-type = <IH_TYPE_FILESYSTEM>;
34 art: partition@7f0000 {
36 reg = <0x7f0000 0x010000>;
40 compatible = "fixed-layout";
44 macaddr_art_0: macaddr@0 {
48 macaddr_art_6: macaddr@6 {
52 macaddr_art_c: macaddr@c {
56 cal_art_1000: cal@1000 {
60 cal_art_5000: cal@5000 {
68 nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
69 nvmem-cell-names = "mac-address", "calibration";
73 nvmem-cells = <&macaddr_art_0>, <&cal_art_5000>;
74 nvmem-cell-names = "mac-address", "calibration";
76 /* The original WNDR3700(v1) variant have four antennae dedicated
77 * to the 5GHz radio as well. Again, two antennae are available for
78 * each chain to switch between. The following configuration is the
79 * default setting which taken from the vendor's wifi
80 * code for that radio.
82 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
83 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
87 line-name = "fixed antenna group 2";
88 gpios = <6 GPIO_ACTIVE_LOW>,
97 nvmem-cells = <&macaddr_art_0>;
98 nvmem-cell-names = "mac-address";
102 nvmem-cells = <&macaddr_art_6>;
103 nvmem-cell-names = "mac-address";