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;
22 compatible = "gpio-keys-polled";
27 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 linux,code = <KEY_RESTART>;
35 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
36 debounce-interval = <60>;
41 linux,code = <KEY_RFKILL>;
42 gpios = <&ath9k 3 GPIO_ACTIVE_LOW>;
43 debounce-interval = <60>;
48 compatible = "gpio-leds";
50 pinctrl-names = "default";
51 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
55 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
85 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
90 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
95 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
100 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
105 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
110 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
111 trigger-sources = <&hub_port>;
112 linux,default-trigger = "usbport";
117 compatible = "gpio-leds";
119 led_power_green: power_green {
120 label = "green:power";
121 gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
124 led_power_amber: power_amber {
125 label = "amber:power";
126 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
127 default-state = "keep";
132 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
133 linux,default-trigger = "phy0tpt";
142 compatible = "jedec,spi-nor";
144 spi-max-frequency = <25000000>;
146 partitions: partitions {
147 compatible = "fixed-partitions";
148 #address-cells = <1>;
159 compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
166 compatible = "pci168c,002e";
167 reg = <0x0000 0 0 0 0>;
174 line-name = "netgear:power:usb";
175 gpios = <4 GPIO_ACTIVE_HIGH>;