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;
17 compatible = "gpio-keys-polled";
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>;
35 gpio_leds: gpio-leds {
36 compatible = "gpio-leds";
39 label = "tp-link:green:system";
40 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
44 label = "tp-link:green:qss";
45 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
55 compatible = "jedec,spi-nor";
57 spi-max-frequency = <25000000>;
60 compatible = "fixed-partitions";
71 reg = <0x20000 0x3d0000>;
76 reg = <0x3f0000 0x10000>;
88 reg = <0x0000 0 0 0 0>;
92 mtd-mac-address = <&uboot 0x1fc00>;
99 mtd-mac-address = <&uboot 0x1fc00>;
100 mtd-mac-address-increment = <(-1)>;
106 mtd-mac-address = <&uboot 0x1fc00>;
107 mtd-mac-address-increment = <1>;