1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9341_tplink.dtsi"
6 model = "TP-Link TL-WR841N/ND v8";
7 compatible = "tplink,tl-wr841-v8", "qca,ar9341";
10 label-mac-device = &wmac;
14 compatible = "gpio-keys";
18 linux,code = <KEY_RFKILL>;
19 linux,input-type = <EV_SW>;
20 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
21 debounce-interval = <60>;
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
37 compatible = "jedec,spi-nor";
39 spi-max-frequency = <25000000>;
42 compatible = "fixed-partitions";
48 reg = <0x000000 0x020000>;
53 compatible = "tplink,firmware";
55 reg = <0x020000 0x3d0000>;
58 art: partition@3f0000 {
60 reg = <0x3f0000 0x010000>;
68 nvmem-cells = <&macaddr_uboot_1fc00>;
69 nvmem-cell-names = "mac-address";
70 mac-address-increment = <(-1)>;
74 nvmem-cells = <&macaddr_uboot_1fc00>;
75 nvmem-cell-names = "mac-address";
79 mtd-cal-data = <&art 0x1000>;
81 nvmem-cells = <&macaddr_uboot_1fc00>;
82 nvmem-cell-names = "mac-address";
86 compatible = "nvmem-cells";
90 macaddr_uboot_1fc00: macaddr@1fc00 {