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>
7 #include "qca956x.dtsi"
11 bootargs = "console=ttyS0,115200n8";
16 led-failsafe = &power;
19 label-mac-device = ð0;
23 compatible = "gpio-keys";
26 label = "WiFi button";
27 linux,code = <KEY_RFKILL>;
28 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
32 label = "Reset button";
33 linux,code = <KEY_RESTART>;
34 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
39 compatible = "gpio-leds";
42 label = "tp-link:green:power";
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 label = "tp-link:green:wlan2g";
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
54 label = "tp-link:green:wlan5g";
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
60 label = "tp-link:green:wan";
61 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
65 label = "tp-link:amber:wan";
66 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
70 label = "tp-link:green:lan";
71 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
75 label = "tp-link:green:wps";
76 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
93 phy-handle = <&swphy4>;
95 mtd-mac-address = <&mac 0x8>;
101 mtd-mac-address = <&mac 0x8>;
102 mtd-mac-address-increment = <1>;
108 mtd-cal-data = <&art 0x1000>;
109 mtd-mac-address = <&mac 0x8>;