1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.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 = "green:system";
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
54 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
58 function = LED_FUNCTION_WLAN;
59 color = <LED_COLOR_ID_GREEN>;
60 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy0tpt";
70 compatible = "marvell,mv88e6060";
114 compatible = "jedec,spi-nor";
116 spi-max-frequency = <25000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x000000 0x20000>;
129 compatible = "fixed-layout";
130 #address-cells = <1>;
133 macaddr_uboot_1fc00: macaddr@1fc00 {
140 compatible = "tplink,firmware";
142 reg = <0x020000 0x3d0000>;
147 reg = <0x3f0000 0x10000>;
151 compatible = "fixed-layout";
152 #address-cells = <1>;
155 cal_art_1000: calibration@1000 {
156 reg = <0x1000 0x440>;
168 nvmem-cells = <&macaddr_uboot_1fc00>;
169 nvmem-cell-names = "mac-address";
180 nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
181 nvmem-cell-names = "mac-address", "calibration";