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>
6 #include "qca956x.dtsi"
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 label-mac-device = ð1;
18 compatible = "gpio-keys";
21 label = "WiFi button";
22 linux,code = <KEY_RFKILL>;
23 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 label = "Reset button";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 label = "tp-link:green:power";
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:wlan2g";
44 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy1tpt";
49 label = "tp-link:green:wlan5g";
50 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
55 label = "tp-link:green:wan";
56 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
60 label = "tp-link:green:lan";
61 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
77 phy-handle = <&swphy4>;
79 mtd-mac-address = <&mac 0x8>;
80 mtd-mac-address-increment = <1>;
86 mtd-mac-address = <&mac 0x8>;
92 mtd-cal-data = <&art 0x1000>;
93 mtd-mac-address = <&mac 0x8>;