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 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_ochi_port>, <&usb_echi_port>;
35 linux,default-trigger = "usbport";
40 compatible = "gpio-leds";
43 label = "netgear:orange:wps";
44 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
47 power_green: power_green {
48 label = "netgear:green:power";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 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";
72 label = "netgear:green:wlan2g";
73 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
74 linux,default-trigger = "phy0tpt";
77 label = "netgear:blue:wlan5g";
78 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "phy1tpt";
84 compatible = "gpio-keys-polled";
85 poll-interval = <100>;
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";
108 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
109 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
112 #address-cells = <1>;
118 phy4: ethernet-phy@4 {
131 #address-cells = <1>;
135 usb_ochi_port: port@1 {
137 #trigger-source-cells = <0>;
142 #address-cells = <1>;
146 usb_echi_port: port@1 {
148 #trigger-source-cells = <0>;
156 compatible = "pci168c,0029";
157 reg = <0x8800 0 0 0 0x10000>;
158 mtd-mac-address = <&art 0x0>;
165 compatible = "pci168c,0029";
166 reg = <0x9000 0 0 0 0x10000>;
167 mtd-mac-address = <&art 0xc>;
183 compatible = "jedec,spi-nor";
185 spi-max-frequency = <25000000>;
187 partitions: partitions {
188 compatible = "fixed-partitions";
189 #address-cells = <1>;
198 pll-data = <0x11110000 0x00001099 0x00991099>;
200 mtd-mac-address = <&art 0x00>;
211 pll-data = <0x11110000 0x00001099 0x00991099>;
213 mtd-mac-address = <&art 0x06>;
215 phy-handle = <&phy4>;