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 label-mac-device = &wmac;
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-leds";
25 label = "tp-link:green:lan";
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
30 label = "tp-link:red:security";
31 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
35 label = "tp-link:green:wlan";
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy0tpt";
41 label = "tp-link:green:system";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
46 label = "tp-link:green:security";
47 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
52 compatible = "gpio-keys";
55 label = "Reset button";
56 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 debounce-interval = <60>;
63 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
65 debounce-interval = <60>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x020000>;
96 compatible = "tplink,firmware";
98 reg = <0x020000 0x3d0000>;
101 art: partition@3f0000 {
103 reg = <0x3f0000 0x010000>;
113 phy-handle = <&swphy4>;
115 mtd-mac-address = <&uboot 0x1fc00>;
119 compatible = "syscon", "simple-mfd";
125 mtd-cal-data = <&art 0x1000>;
126 mtd-mac-address = <&uboot 0x1fc00>;