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>;
52 compatible = "fixed-layout";
56 macaddr_uboot_1fc00: macaddr@1fc00 {
57 compatible = "mac-base";
59 #nvmem-cell-cells = <1>;
65 compatible = "tplink,firmware";
67 reg = <0x020000 0x3d0000>;
70 art: partition@3f0000 {
72 reg = <0x3f0000 0x010000>;
80 nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
81 nvmem-cell-names = "mac-address";
85 nvmem-cells = <&macaddr_uboot_1fc00 0>;
86 nvmem-cell-names = "mac-address";
90 mtd-cal-data = <&art 0x1000>;
92 nvmem-cells = <&macaddr_uboot_1fc00 0>;
93 nvmem-cell-names = "mac-address";