1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wr941-v2", "qca,ar9132";
10 model = "TP-Link TL-WR941N/ND v2/v3";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 compatible = "gpio-leds";
42 label = "green:system";
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
58 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
68 compatible = "marvell,mv88e6060";
113 compatible = "jedec,spi-nor";
115 spi-max-frequency = <25000000>;
118 compatible = "fixed-partitions";
119 #address-cells = <1>;
124 reg = <0x000000 0x20000>;
129 compatible = "tplink,firmware";
131 reg = <0x020000 0x3d0000>;
134 art: partition@3f0000 {
136 reg = <0x3f0000 0x10000>;
147 mtd-mac-address = <&uboot 0x1fc00>;
157 mtd-cal-data = <&art 0x1000>;
158 mtd-mac-address = <&uboot 0x1fc00>;