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>
13 led-failsafe = &system;
14 led-running = &system;
15 led-upgrade = &system;
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&jtag_disable_pins>;
26 linux,code = <KEY_RFKILL>;
27 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
36 label = "tp-link:green:power";
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 label = "tp-link:green:wlan";
43 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
48 label = "tp-link:green:qss";
49 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:wan";
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 label = "tp-link:green:lan1";
59 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
63 label = "tp-link:green:lan2";
64 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
68 label = "tp-link:green:lan3";
69 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
73 label = "tp-link:green:lan4";
74 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
80 clock-frequency = <25000000>;
94 phy-handle = <&swphy0>;
96 mtd-mac-address = <&uboot 0x1fc00>;
97 mtd-mac-address-increment = <(-1)>;
101 mtd-mac-address = <&uboot 0x1fc00>;
105 switch-phy-swap = <1>;
112 mtd-cal-data = <&art 0x1000>;
113 mtd-mac-address = <&uboot 0x1fc00>;