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>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = &ath9k;
18 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 compatible = "gpio-leds";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinmux_switch_led_pins>;
42 label = "green:system";
43 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-leds";
57 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <25000000>;
74 compatible = "fixed-partitions";
85 compatible = "tplink,firmware";
86 reg = <0x20000 0x3d0000>;
90 art: partition@3f0000 {
91 reg = <0x3f0000 0x10000>;
107 reg = <0x0000 0 0 0 0>;
109 mtd-mac-address = <&uboot 0x1fc00>;
116 pinmux_switch_led_pins: switch_led_pins {
117 pinctrl-single,bits = <0x0 0x0 0xf8>;