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;
18 label-mac-device = ð1;
22 compatible = "gpio-keys";
25 label = "WiFi button";
26 linux,code = <KEY_RFKILL>;
27 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
31 label = "Reset button";
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-leds";
41 label = "tp-link:green:power";
42 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 label = "tp-link:green:wlan2g";
48 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
53 label = "tp-link:green:wlan5g";
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 label = "tp-link:green:wan";
60 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
64 label = "tp-link:green:lan";
65 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>;