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 "qca9557.dtsi"
10 compatible = "tplink,tl-wr941n-v7-cn", "qca,qca9558";
11 model = "TP-Link TL-WR941N v7 (CN)";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_system;
19 led-failsafe = &led_system;
20 led-running = &led_system;
21 led-upgrade = &led_system;
25 compatible = "gpio-leds";
28 label = "tp-link:green:system";
29 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
34 label = "tp-link:green:wlan";
35 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
40 label = "tp-link:green:qss";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
52 debounce-interval = <60>;
57 linux,code = <KEY_WPS_BUTTON>;
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 debounce-interval = <60>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x020000>;
89 compatible = "tplink,firmware";
91 reg = <0x020000 0x3d0000>;
94 art: partition@7f0000 {
96 reg = <0x3f0000 0x010000>;
107 compatible = "qca,ar8236";
115 mtd-mac-address = <&uboot 0x1fc00>;
124 mtd-cal-data = <&art 0x1000>;
125 mtd-mac-address = <&uboot 0x1fc00>;