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";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
28 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
34 gpio_leds: gpio-leds {
35 compatible = "gpio-leds";
38 label = "tp-link:green:system";
39 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:qss";
44 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <25000000>;
61 compatible = "fixed-partitions";
72 reg = <0x20000 0x3d0000>;
77 reg = <0x3f0000 0x10000>;
89 reg = <0x0000 0 0 0 0>;
93 mtd-mac-address = <&uboot 0x1fc00>;
100 phy-handle = <&phy4>;
102 mtd-mac-address = <&uboot 0x1fc00>;
103 mtd-mac-address-increment = <(-1)>;
109 mtd-mac-address = <&uboot 0x1fc00>;
110 mtd-mac-address-increment = <1>;
116 phy4: ethernet-phy@4 {