ath79: remove model name from LED labels
[openwrt/staging/jow.git] / target / linux / ath79 / dts / ar9341_tplink_tl-mr3420-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9341_tplink.dtsi"
4
5 / {
6 model = "TP-Link TL-MR3420 v2";
7 compatible = "tplink,tl-mr3420-v2", "qca,ar9341";
8
9 keys {
10 compatible = "gpio-keys";
11
12 rfkill {
13 label = "WiFi";
14 linux,code = <KEY_RFKILL>;
15 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
16 debounce-interval = <60>;
17 };
18
19 reset {
20 label = "Reset/WPS";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
23 debounce-interval = <60>;
24 };
25 };
26 };
27
28 &leds {
29 usb {
30 label = "green:usb";
31 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
32 trigger-sources = <&hub_port>;
33 linux,default-trigger = "usbport";
34 };
35 };
36
37 &gpio {
38 usb_power {
39 gpio-hog;
40 gpios = <4 GPIO_ACTIVE_HIGH>;
41 output-high;
42 line-name = "tp-link:power:usb";
43 };
44 };
45
46 &spi {
47 num-cs = <1>;
48
49 status = "okay";
50
51 flash@0 {
52 compatible = "jedec,spi-nor";
53 reg = <0>;
54 spi-max-frequency = <25000000>;
55
56 partitions {
57 compatible = "fixed-partitions";
58 #address-cells = <1>;
59 #size-cells = <1>;
60
61 uboot: partition@0 {
62 label = "u-boot";
63 reg = <0x000000 0x020000>;
64 read-only;
65 };
66
67 partition@20000 {
68 compatible = "tplink,firmware";
69 label = "firmware";
70 reg = <0x020000 0x3d0000>;
71 };
72
73 art: partition@3f0000 {
74 label = "art";
75 reg = <0x3f0000 0x010000>;
76 read-only;
77 };
78 };
79 };
80 };
81
82 &usb {
83 #address-cells = <1>;
84 #size-cells = <0>;
85 status = "okay";
86
87 hub_port: port@1 {
88 reg = <1>;
89 #trigger-source-cells = <0>;
90 };
91 };
92
93 &usb_phy {
94 status = "okay";
95 };