1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9341_tplink.dtsi"
6 model = "TP-Link TL-MR3420 v2";
7 compatible = "tplink,tl-mr3420-v2", "qca,ar9341";
10 label-mac-device = &wmac;
14 compatible = "gpio-keys";
18 linux,code = <KEY_RFKILL>;
19 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
20 debounce-interval = <60>;
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
27 debounce-interval = <60>;
35 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
36 trigger-sources = <&hub_port>;
37 linux,default-trigger = "usbport";
44 gpios = <4 GPIO_ACTIVE_HIGH>;
46 line-name = "tp-link:power:usb";
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <25000000>;
59 compatible = "fixed-partitions";
65 reg = <0x000000 0x020000>;
70 compatible = "tplink,firmware";
72 reg = <0x020000 0x3d0000>;
75 art: partition@3f0000 {
77 reg = <0x3f0000 0x010000>;
93 nvmem-cells = <&macaddr_uboot_1fc00>;
94 nvmem-cell-names = "mac-address";
95 mac-address-increment = <(-1)>;
99 nvmem-cells = <&macaddr_uboot_1fc00>;
100 nvmem-cell-names = "mac-address";
104 mtd-cal-data = <&art 0x1000>;
106 nvmem-cells = <&macaddr_uboot_1fc00>;
107 nvmem-cell-names = "mac-address";
111 compatible = "nvmem-cells";
112 #address-cells = <1>;
115 macaddr_uboot_1fc00: macaddr@1fc00 {