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 bootargs = "console=ttyS0,115200n8";
15 led-boot = &power_amber;
16 led-failsafe = &power_amber;
17 led-running = &power_green;
18 led-upgrade = &power_amber;
19 label-mac-device = ð1;
23 compatible = "gpio-keys-polled";
28 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 linux,code = <KEY_RESTART>;
36 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 linux,code = <KEY_RFKILL>;
43 gpios = <&ath9k 3 GPIO_ACTIVE_LOW>;
44 debounce-interval = <60>;
49 compatible = "gpio-leds";
51 pinctrl-names = "default";
52 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
55 label = "netgear:green:wan";
56 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
60 label = "netgear:amber:wan";
61 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 label = "netgear:green:lan1";
66 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
70 label = "netgear:amber:lan1";
71 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
75 label = "netgear:green:lan2";
76 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
80 label = "netgear:amber:lan2";
81 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
85 label = "netgear:green:lan3";
86 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
90 label = "netgear:amber:lan3";
91 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
95 label = "netgear:green:lan4";
96 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
100 label = "netgear:amber:lan4";
101 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
105 label = "netgear:green:wps";
106 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
110 label = "netgear:green:usb";
111 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
112 trigger-sources = <&hub_port>;
113 linux,default-trigger = "usbport";
118 compatible = "gpio-leds";
120 power_green: power_green {
121 label = "netgear:green:power";
122 gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
125 power_amber: power_amber {
126 label = "netgear:amber:power";
127 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
128 default-state = "keep";
132 label = "netgear:blue:wlan";
133 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
134 linux,default-trigger = "phy0tpt";
144 compatible = "jedec,spi-nor";
146 spi-max-frequency = <25000000>;
148 partitions: partitions {
149 compatible = "fixed-partitions";
150 #address-cells = <1>;
159 mtd-mac-address = <&art 0x0>;
165 compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
166 mtd-mac-address = <&art 0x6>;
173 compatible = "pci168c,002e";
174 reg = <0x0000 0 0 0 0>;
175 mtd-mac-address = <&art 0x0>;
176 mtd-mac-address-increment = <1>;
183 line-name = "netgear:power:usb";
184 gpios = <4 GPIO_ACTIVE_HIGH>;
199 #address-cells = <1>;
205 #trigger-source-cells = <0>;