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>;
33 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&switch_led_pins>;
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>;
48 label = "tp-link:green:lan1";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:lan2";
54 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
58 label = "tp-link:green:lan3";
59 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
63 label = "tp-link:green:lan4";
64 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
68 label = "tp-link:green:wan";
69 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
74 compatible = "gpio-leds";
77 label = "tp-link:green:wlan";
78 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
79 default-state = "off";
80 linux,default-trigger = "phy0tpt";
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
105 firmware: partition@20000 {
106 reg = <0x20000 0x3d0000>;
110 art: partition@3f0000 {
111 reg = <0x3f0000 0x10000>;
122 mtd-mac-address = <&uboot 0x1fc00>;
123 mtd-mac-address-increment = <(-1)>;
129 mtd-mac-address = <&uboot 0x1fc00>;
130 mtd-mac-address-increment = <1>;
137 compatible = "pci168c,002b";
138 reg = <0x0000 0 0 0 0>;
140 mtd-mac-address = <&uboot 0x1fc00>;
147 switch_led_pins: pinmux_switch_led_pins {
148 pinctrl-single,bits = <0x0 0x0 0xf8>;