1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #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-polled";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
36 gpio_leds: gpio-leds {
37 compatible = "gpio-leds";
40 label = "tp-link:green:system";
41 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
45 label = "tp-link:green:qss";
46 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <25000000>;
61 compatible = "fixed-partitions";
72 compatible = "tplink,firmware";
73 reg = <0x20000 0x3d0000>;
78 reg = <0x3f0000 0x10000>;
90 reg = <0x0000 0 0 0 0>;
94 mtd-mac-address = <&uboot 0x1fc00>;
101 mtd-mac-address = <&uboot 0x1fc00>;
102 mtd-mac-address-increment = <(-1)>;
108 mtd-mac-address = <&uboot 0x1fc00>;
109 mtd-mac-address-increment = <1>;