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>
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 label-mac-device = &wmac;
19 compatible = "gpio-keys";
23 linux,code = <KEY_RFKILL>;
24 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 label = "tp-link:green:power";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 label = "tp-link:green:wlan";
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy0tpt";
45 label = "tp-link:green:qss";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
50 label = "tp-link:green:wan";
51 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 label = "tp-link:green:lan1";
56 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
60 label = "tp-link:green:lan2";
61 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
65 label = "tp-link:green:lan3";
66 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
70 label = "tp-link:green:lan4";
71 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
77 clock-frequency = <25000000>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&jtag_disable_pins &pmx_usb_power>;
90 pmx_usb_power: usb_power {
91 pinctrl-single,bits = <0x4 0x0 0xff>;
98 phy-handle = <&swphy0>;
100 mtd-mac-address = <&uboot 0x1fc00>;
101 mtd-mac-address-increment = <(-1)>;
105 mtd-mac-address = <&uboot 0x1fc00>;
109 switch-phy-swap = <1>;
116 mtd-cal-data = <&art 0x1000>;
117 mtd-mac-address = <&uboot 0x1fc00>;