1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 label-mac-device = &wmac;
20 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins>;
27 linux,code = <KEY_RFKILL>;
28 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
29 debounce-interval = <60>;
34 compatible = "gpio-leds";
37 label = "tp-link:green:power";
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:wlan";
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy0tpt";
49 label = "tp-link:green:qss";
50 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 label = "tp-link:green:wan";
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
59 label = "tp-link:green:lan1";
60 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
64 label = "tp-link:green:lan2";
65 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
69 label = "tp-link:green:lan3";
70 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
74 label = "tp-link:green:lan4";
75 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
81 clock-frequency = <25000000>;
95 phy-handle = <&swphy0>;
97 mtd-mac-address = <&uboot 0x1fc00>;
98 mtd-mac-address-increment = <(-1)>;
102 mtd-mac-address = <&uboot 0x1fc00>;
106 switch-phy-swap = <1>;
113 mtd-cal-data = <&art 0x1000>;
114 mtd-mac-address = <&uboot 0x1fc00>;