1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9341_tplink.dtsi"
6 model = "TP-Link TL-WR842N/ND v2";
7 compatible = "tplink,tl-wr842n-v2", "qca,ar9341";
10 compatible = "gpio-keys";
14 linux,code = <KEY_RFKILL>;
15 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
16 debounce-interval = <60>;
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
28 compatible = "gpio-export";
31 gpio-export,name = "tp-link:power:usb";
32 gpio-export,output = <1>;
33 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
41 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&hub_port>;
43 linux,default-trigger = "usbport";
51 compatible = "jedec,spi-nor";
53 spi-max-frequency = <25000000>;
56 compatible = "fixed-partitions";
62 reg = <0x000000 0x020000>;
67 compatible = "tplink,firmware";
69 reg = <0x020000 0x7d0000>;
72 art: partition@7f0000 {
74 reg = <0x7f0000 0x010000>;
88 #trigger-source-cells = <0>;
97 phy-handle = <&swphy4>;