a09730a9e888730ae0a51cbf0d00f9de1a041da2
[openwrt/staging/blogic.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-mr8300.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcom-ipq4019-xx8300.dtsi"
4
5 / {
6 model = "Linksys MR8300 (Dallas)";
7 compatible = "linksys,mr8300", "qcom,ipq4019";
8
9 aliases {
10 led-boot = &led_blue;
11 led-failsafe = &led_red;
12 led-running = &led_blue;
13 led-upgrade = &led_amber;
14 serial0 = &blsp1_uart1;
15 };
16
17 // Top panel LEDs, above Linksys logo
18 leds {
19 compatible = "gpio-leds";
20
21 led_red: red {
22 label = "mr8300:red:alarm";
23 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
24 };
25
26 led_amber: amber {
27 label = "mr8300:amber:programming";
28 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
29 panic-indicator;
30 };
31
32 led_blue: blue {
33 label = "mr8300:blue:power";
34 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
35 };
36
37 // On back panel, above USB socket
38
39 led_usb: usb {
40 label = "mr8300:green:usb";
41 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&usb3_port1>, <&usb3_port2>,
43 <&usb2_port1>;
44 linux,default-trigger = "usbport";
45 };
46 };
47
48 keys {
49 compatible = "gpio-keys";
50
51 reset {
52 label = "reset";
53 linux,code = <KEY_RESTART>;
54 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
55 };
56
57 wps {
58 label = "wps";
59 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
61 };
62 };
63 };
64
65 &wifi0 {
66 status = "okay";
67 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
68 };
69
70 &wifi1 {
71 status = "okay";
72 ieee80211-freq-limit = <5170000 5330000>;
73 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
74 };
75
76 &wifi2 {
77 status = "okay";
78 ieee80211-freq-limit = <5490000 5835000>;
79 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
80 };