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>;
45 default-state = "off";
48 power_green: power_green {
49 label = "netgear:green:power";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 default-state = "off";
54 power_orange: power_orange {
55 label = "netgear:orange:power";
56 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
61 label = "netgear:green:wps";
62 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
63 default-state = "off";
67 label = "netgear:green:wan";
68 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
69 default-state = "off";
74 compatible = "gpio-leds";
76 label = "netgear:green:wlan2g";
77 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
78 default-state = "off";
79 linux,default-trigger = "phy0tpt";
82 label = "netgear:blue:wlan5g";
83 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
84 default-state = "off";
85 linux,default-trigger = "phy1tpt";
90 compatible = "gpio-keys-polled";
91 poll-interval = <100>;
95 linux,code = <KEY_WPS_BUTTON>;
96 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_RESTART>;
102 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
107 linux,code = <KEY_RFKILL>;
108 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
113 compatible = "realtek,rtl8366s";
114 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
115 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
118 #address-cells = <1>;
124 phy4: ethernet-phy@4 {
137 #address-cells = <1>;
141 usb_ochi_port: port@1 {
143 #trigger-source-cells = <0>;
148 #address-cells = <1>;
152 usb_echi_port: port@1 {
154 #trigger-source-cells = <0>;
162 compatible = "pci168c,0029";
163 reg = <0x8800 0 0 0 0x10000>;
164 mtd-mac-address = <&art 0x0>;
171 compatible = "pci168c,0029";
172 reg = <0x9000 0 0 0 0x10000>;
173 mtd-mac-address = <&art 0xc>;
189 compatible = "jedec,spi-nor";
191 spi-max-frequency = <25000000>;
193 partitions: partitions {
194 compatible = "fixed-partitions";
195 #address-cells = <1>;
204 pll-data = <0x11110000 0x00001099 0x00991099>;
206 mtd-mac-address = <&art 0x00>;
217 pll-data = <0x11110000 0x00001099 0x00991099>;
219 mtd-mac-address = <&art 0x06>;
221 phy-handle = <&phy4>;