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 bootargs = "console=ttyS0,115200n8";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
24 label = "WiFi button";
25 linux,code = <KEY_RFKILL>;
26 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
30 label = "Reset button";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-leds";
40 label = "tp-link:green:power";
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 label = "tp-link:green:wlan2g";
47 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy1tpt";
52 label = "tp-link:green:wlan5g";
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
58 label = "tp-link:green:wan";
59 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
63 label = "tp-link:green:lan";
64 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
81 phy-handle = <&swphy4>;
83 mtd-mac-address = <&mac 0x8>;
84 mtd-mac-address-increment = <1>;
90 mtd-mac-address = <&mac 0x8>;
96 mtd-cal-data = <&art 0x1000>;
97 mtd-mac-address = <&mac 0x8>;