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;
15 label-mac-device = ð0;
19 bootargs = "console=ttyS0,115200";
23 compatible = "fixed-clock";
25 clock-output-names = "ref";
26 clock-frequency = <40000000>;
30 compatible = "reset-leds";
33 label = "netgear:green:usb";
35 trigger-sources = <&usb_ochi_port>, <&usb_echi_port>;
36 linux,default-trigger = "usbport";
41 compatible = "gpio-leds";
44 label = "netgear:orange:wps";
45 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
48 power_green: power_green {
49 label = "netgear:green:power";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
53 power_orange: power_orange {
54 label = "netgear:orange:power";
55 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
60 label = "netgear:green:wps";
61 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
65 label = "netgear:green:wan";
66 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
71 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";
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>;