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 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
18 label-mac-device = ð0;
22 compatible = "gpio-leds";
25 label = "tp-link:green:system";
26 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
31 label = "tp-link:green:wlan";
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
37 label = "tp-link:green:qss";
38 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys";
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49 debounce-interval = <60>;
54 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
56 debounce-interval = <60>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x020000>;
86 compatible = "tplink,firmware";
88 reg = <0x020000 0x3d0000>;
91 art: partition@7f0000 {
93 reg = <0x3f0000 0x010000>;
104 compatible = "qca,ar8236";
112 mtd-mac-address = <&uboot 0x1fc00>;
121 mtd-cal-data = <&art 0x1000>;
122 mtd-mac-address = <&uboot 0x1fc00>;