1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
11 led-boot = &power_orange;
12 led-failsafe = &power_orange;
13 led-running = &power_green;
14 led-upgrade = &power_orange;
18 compatible = "fixed-clock";
20 clock-output-names = "ref";
21 clock-frequency = <40000000>;
25 compatible = "reset-leds";
28 label = "netgear:green:usb";
30 trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
31 linux,default-trigger = "usbport";
36 compatible = "gpio-leds";
39 label = "netgear:orange:wps";
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 power_green: power_green {
44 label = "netgear:green:power";
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 power_orange: power_orange {
49 label = "netgear:orange:power";
50 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
55 label = "netgear:green:wps";
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
60 label = "netgear:green:wan";
61 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-leds";
68 label = "netgear:green:wlan2g";
69 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "phy0tpt";
73 label = "netgear:blue:wlan5g";
74 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
75 linux,default-trigger = "phy1tpt";
80 compatible = "gpio-keys";
84 linux,code = <KEY_WPS_BUTTON>;
85 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
91 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_RFKILL>;
97 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
102 compatible = "realtek,rtl8366s";
103 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
104 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
107 #address-cells = <1>;
113 phy4: ethernet-phy@4 {
126 #address-cells = <1>;
130 usb_ochi_port: port@1 {
132 #trigger-source-cells = <0>;
137 #address-cells = <1>;
141 usb_echi_port: port@1 {
143 #trigger-source-cells = <0>;
151 compatible = "pci168c,0029";
152 reg = <0x8800 0 0 0 0x10000>;
153 mtd-mac-address = <&art 0x0>;
158 /* all WNDR3700 variants have four antennae dedicated
159 * to the 2.4GHz radio. Two antennae are available for
160 * each chain. The following configuration is the
161 * default setting which taken from the vendor's wifi
162 * code for that radio.
164 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
165 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
169 line-name = "fixed antenna group 1";
170 gpios = <6 GPIO_ACTIVE_LOW>,
171 <7 GPIO_ACTIVE_HIGH>,
173 <9 GPIO_ACTIVE_HIGH>;
179 compatible = "pci168c,0029";
180 reg = <0x9000 0 0 0 0x10000>;
181 mtd-mac-address = <&art 0xc>;
197 compatible = "jedec,spi-nor";
199 spi-max-frequency = <25000000>;
201 partitions: partitions {
202 compatible = "fixed-partitions";
203 #address-cells = <1>;
212 pll-data = <0x11110000 0x00001099 0x00991099>;
214 mtd-mac-address = <&art 0x00>;
225 pll-data = <0x11110000 0x00001099 0x00991099>;
227 mtd-mac-address = <&art 0x06>;
229 phy-handle = <&phy4>;