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 "qca953x.dtsi"
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
17 bootargs = "console=ttyS0,115200n8";
21 compatible = "gpio-leds";
24 label = "tp-link:green:lan";
25 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
29 label = "tp-link:red:security";
30 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
34 label = "tp-link:green:wlan";
35 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
40 label = "tp-link:green:system";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 label = "tp-link:green:security";
46 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-keys";
54 label = "Reset button";
55 linux,code = <KEY_RESTART>;
56 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 debounce-interval = <60>;
62 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 debounce-interval = <60>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <25000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x020000>;
95 compatible = "tplink,firmware";
97 reg = <0x020000 0x3d0000>;
100 art: partition@3f0000 {
102 reg = <0x3f0000 0x010000>;
112 phy-handle = <&swphy4>;
114 mtd-mac-address = <&uboot 0x1fc00>;
118 compatible = "syscon", "simple-mfd";
124 mtd-cal-data = <&art 0x1000>;
125 mtd-mac-address = <&uboot 0x1fc00>;