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-status = &led_system;
14 compatible = "gpio-keys-polled";
19 linux,code = <KEY_RESTART>;
20 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
21 debounce-interval = <60>;
26 linux,code = <KEY_WPS_BUTTON>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
32 gpio_leds: gpio-leds {
33 compatible = "gpio-leds";
36 label = "tp-link:green:system";
37 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
41 label = "tp-link:green:qss";
42 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 compatible = "jedec,spi-nor";
54 spi-max-frequency = <25000000>;
57 compatible = "fixed-partitions";
68 reg = <0x20000 0x3d0000>;
73 reg = <0x3f0000 0x10000>;
85 reg = <0x0000 0 0 0 0>;
89 mtd-mac-address = <&uboot 0x1fc00>;
96 mtd-mac-address = <&uboot 0x1fc00>;
97 mtd-mac-address-increment = <(-1)>;
103 mtd-mac-address = <&uboot 0x1fc00>;
104 mtd-mac-address-increment = <1>;