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 "qca955x.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;
22 label-mac-device = ð0;
26 compatible = "gpio-leds";
29 label = "tp-link:green:system";
30 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
35 label = "tp-link:green:wlan";
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 linux,default-trigger = "phy0tpt";
41 label = "tp-link:green:qss";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 compatible = "gpio-keys";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
53 debounce-interval = <60>;
58 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <25000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x020000>;
90 compatible = "tplink,firmware";
92 reg = <0x020000 0x3d0000>;
95 art: partition@7f0000 {
97 reg = <0x3f0000 0x010000>;
108 compatible = "qca,ar8236";
116 mtd-mac-address = <&uboot 0x1fc00>;
125 mtd-cal-data = <&art 0x1000>;
126 mtd-mac-address = <&uboot 0x1fc00>;