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>
7 #include <dt-bindings/mtd/partitions/uimage.h>
11 bootargs = "console=ttyS0,115200n8";
15 led-boot = &led_power_amber;
16 led-failsafe = &led_power_amber;
17 led-running = &led_power_green;
18 led-upgrade = &led_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>;
56 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
86 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
91 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
96 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
100 label = "amber:lan4";
101 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
106 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
111 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
112 trigger-sources = <&hub_port>;
113 linux,default-trigger = "usbport";
118 compatible = "gpio-leds";
120 led_power_green: power_green {
121 label = "green:power";
122 gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
125 led_power_amber: power_amber {
126 label = "amber:power";
127 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
128 default-state = "keep";
133 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
134 linux,default-trigger = "phy0tpt";
143 compatible = "jedec,spi-nor";
145 spi-max-frequency = <25000000>;
147 partitions: partitions {
148 compatible = "fixed-partitions";
149 #address-cells = <1>;
158 mtd-mac-address = <&art 0x0>;
162 compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
164 mtd-mac-address = <&art 0x6>;
171 compatible = "pci168c,002e";
172 reg = <0x0000 0 0 0 0>;
173 mtd-mac-address = <&art 0x0>;
174 mtd-mac-address-increment = <1>;
181 line-name = "netgear:power:usb";
182 gpios = <4 GPIO_ACTIVE_HIGH>;
197 #address-cells = <1>;
203 #trigger-source-cells = <0>;