1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr941-v2", "qca,ar9132";
11 model = "TP-Link TL-WR941N/ND v2/v3";
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-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 debounce-interval = <60>;
40 compatible = "gpio-leds";
43 label = "tp-link:green:system";
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 label = "tp-link:red:qss";
49 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
53 label = "tp-link:green:qss";
54 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
58 label = "tp-link:green:wlan";
59 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
65 compatible = "marvell,dsa";
69 dsa,mii-bus = <&mdio0>;
70 dsa,ethernet = <ð0>;
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <25000000>;
123 compatible = "fixed-partitions";
124 #address-cells = <1>;
129 reg = <0x000000 0x20000>;
134 compatible = "tplink,firmware";
136 reg = <0x020000 0x3d0000>;
139 art: partition@3f0000 {
141 reg = <0x3f0000 0x10000>;
156 mtd-mac-address = <&uboot 0x1fc00>;
166 mtd-cal-data = <&art 0x1000>;
167 mtd-mac-address = <&uboot 0x1fc00>;