1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
11 led-boot = &led_power_orange;
12 led-failsafe = &led_power_orange;
13 led-running = &led_power_green;
14 led-upgrade = &led_power_orange;
18 compatible = "reset-leds";
23 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
24 linux,default-trigger = "usbport";
29 compatible = "gpio-leds";
33 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
36 led_power_green: power_green {
37 label = "green:power";
38 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 led_power_orange: power_orange {
42 label = "orange:power";
43 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-leds";
62 label = "green:wlan2g";
63 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy0tpt";
67 label = "blue:wlan5g";
68 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy1tpt";
74 compatible = "gpio-keys";
78 linux,code = <KEY_WPS_BUTTON>;
79 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_RESTART>;
85 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RFKILL>;
91 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
96 compatible = "realtek,rtl8366s";
98 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
99 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
102 #address-cells = <1>;
106 phy4: ethernet-phy@4 {
130 compatible = "pci168c,0029";
131 reg = <0x8800 0 0 0 0>;
136 /* all WNDR3700 variants have four antennae dedicated
137 * to the 2.4GHz radio. Two antennae are available for
138 * each chain. The following configuration is the
139 * default setting which taken from the vendor's wifi
140 * code for that radio.
142 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
143 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
147 line-name = "fixed antenna group 1";
148 gpios = <6 GPIO_ACTIVE_LOW>,
149 <7 GPIO_ACTIVE_HIGH>,
151 <9 GPIO_ACTIVE_HIGH>;
157 compatible = "pci168c,0029";
158 reg = <0x9000 0 0 0 0>;
169 compatible = "jedec,spi-nor";
171 spi-max-frequency = <25000000>;
173 partitions: partitions {
174 compatible = "fixed-partitions";
175 #address-cells = <1>;
184 pll-data = <0x11110000 0x00001099 0x00991099>;
195 pll-data = <0x11110000 0x00001099 0x00991099>;
197 phy-handle = <&phy4>;