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>
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 compatible = "fixed-clock";
20 clock-output-names = "ref";
21 clock-frequency = <40000000>;
25 compatible = "reset-leds";
30 trigger-sources = <&usb_ohci_port>, <&usb_ehci_port>;
31 linux,default-trigger = "usbport";
36 compatible = "gpio-leds";
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 led_power_green: power_green {
44 label = "green:power";
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 led_power_orange: power_orange {
49 label = "orange:power";
50 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-leds";
69 label = "green:wlan2g";
70 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
71 linux,default-trigger = "phy0tpt";
74 label = "blue:wlan5g";
75 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
76 linux,default-trigger = "phy1tpt";
81 compatible = "gpio-keys";
85 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
92 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_RFKILL>;
98 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
103 compatible = "realtek,rtl8366s";
105 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
106 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
109 #address-cells = <1>;
115 phy4: ethernet-phy@4 {
128 #address-cells = <1>;
132 usb_ohci_port: port@1 {
134 #trigger-source-cells = <0>;
139 #address-cells = <1>;
143 usb_ehci_port: port@1 {
145 #trigger-source-cells = <0>;
153 compatible = "pci168c,0029";
154 reg = <0x8800 0 0 0 0>;
155 mtd-mac-address = <&art 0x0>;
160 /* all WNDR3700 variants have four antennae dedicated
161 * to the 2.4GHz radio. Two antennae are available for
162 * each chain. The following configuration is the
163 * default setting which taken from the vendor's wifi
164 * code for that radio.
166 * All possible options [GPIO6,GPIO7,GPIO8,GPIO9]:
167 * [0,1,0,1], [0,1,1,0], [1,0,0,1], [1,0,1,0]
171 line-name = "fixed antenna group 1";
172 gpios = <6 GPIO_ACTIVE_LOW>,
173 <7 GPIO_ACTIVE_HIGH>,
175 <9 GPIO_ACTIVE_HIGH>;
181 compatible = "pci168c,0029";
182 reg = <0x9000 0 0 0 0>;
183 mtd-mac-address = <&art 0xc>;
198 compatible = "jedec,spi-nor";
200 spi-max-frequency = <25000000>;
202 partitions: partitions {
203 compatible = "fixed-partitions";
204 #address-cells = <1>;
213 pll-data = <0x11110000 0x00001099 0x00991099>;
215 mtd-mac-address = <&art 0x00>;
226 pll-data = <0x11110000 0x00001099 0x00991099>;
228 mtd-mac-address = <&art 0x06>;
230 phy-handle = <&phy4>;