1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
10 led-boot = &led_power_orange;
11 led-failsafe = &led_power_orange;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_orange;
14 label-mac-device = ð0;
18 bootargs = "console=ttyS0,115200";
22 compatible = "fixed-clock";
24 clock-output-names = "ref";
25 clock-frequency = <40000000>;
29 compatible = "reset-leds";
32 label = "netgear:green:usb";
34 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
35 linux,default-trigger = "usbport";
40 compatible = "gpio-leds";
43 label = "netgear:orange:wps";
44 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
47 led_power_green: power_green {
48 label = "netgear:green:power";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 led_power_orange: power_orange {
53 label = "netgear:orange:power";
54 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
59 label = "netgear:green:wps";
60 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
64 label = "netgear:green:wan";
65 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-leds";
73 label = "netgear:green:wlan2g";
74 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
75 linux,default-trigger = "phy0tpt";
78 label = "netgear:blue:wlan5g";
79 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
80 linux,default-trigger = "phy1tpt";
85 compatible = "gpio-keys";
89 linux,code = <KEY_WPS_BUTTON>;
90 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_RESTART>;
96 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_RFKILL>;
102 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
107 compatible = "realtek,rtl8366s";
109 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
110 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
113 #address-cells = <1>;
119 phy4: ethernet-phy@4 {
132 #address-cells = <1>;
136 usb_ohci_port: port@1 {
138 #trigger-source-cells = <0>;
143 #address-cells = <1>;
147 usb_ehci_port: port@1 {
149 #trigger-source-cells = <0>;
157 compatible = "pci168c,0029";
158 reg = <0x8800 0 0 0 0>;
159 mtd-mac-address = <&art 0x0>;
164 /* all WNDR3700 variants have four antennae dedicated
165 * to the 2.4GHz radio. Two antennae are available for
166 * each chain. The following configuration is the
167 * default setting which taken from the vendor's wifi
168 * code for that radio.
170 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
171 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
175 line-name = "fixed antenna group 1";
176 gpios = <6 GPIO_ACTIVE_LOW>,
177 <7 GPIO_ACTIVE_HIGH>,
179 <9 GPIO_ACTIVE_HIGH>;
185 compatible = "pci168c,0029";
186 reg = <0x9000 0 0 0 0>;
187 mtd-mac-address = <&art 0xc>;
204 compatible = "jedec,spi-nor";
206 spi-max-frequency = <25000000>;
208 partitions: partitions {
209 compatible = "fixed-partitions";
210 #address-cells = <1>;
219 pll-data = <0x11110000 0x00001099 0x00991099>;
221 mtd-mac-address = <&art 0x00>;
232 pll-data = <0x11110000 0x00001099 0x00991099>;
234 mtd-mac-address = <&art 0x06>;
236 phy-handle = <&phy4>;