ipq40xx: Add support for Linksys MR8300 (Dallas)
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / files / arch / arm / boot / dts / qcom-ipq4019-ea8300.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /dts-v1/;
4
5 #include "qcom-ipq4019-xx8300.dtsi"
6
7 / {
8 model = "Linksys EA8300 (Dallas)";
9 compatible = "linksys,ea8300", "qcom,ipq4019";
10
11
12 aliases {
13 led-boot = &led_wps_amber;
14 led-failsafe = &led_wps;
15 led-running = &led_linksys;
16 led-upgrade = &led_world;
17 serial0 = &blsp1_uart1;
18 };
19
20
21 leds {
22 compatible = "gpio-leds";
23
24 // Retain node names from running OEM on EA8300
25
26 // Front panel LEDs, top to bottom
27
28 led_plug: diag {
29 label = "ea8300:amber:plug";
30 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
31 };
32
33 led_world: internet {
34 label = "ea8300:amber:world";
35 gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
36 };
37
38 led_wps: wps {
39 label = "ea8300:white:wps";
40 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
41 };
42
43 led_wps_amber: wps_amber {
44 label = "ea8300:amber:wps";
45 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
46 panic-indicator;
47 };
48
49 led_linksys: pwr {
50 label = "ea8300:white:linksys";
51 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
52 };
53
54 // On back panel, above USB socket
55
56 led_usb: usb {
57 label = "ea8300:green:usb";
58 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
59 trigger-sources = <&usb3_port1>, <&usb3_port2>,
60 <&usb2_port1>;
61 linux,default-trigger = "usbport";
62 };
63 };
64
65 keys {
66 compatible = "gpio-keys";
67
68 reset {
69 label = "reset";
70 linux,code = <KEY_RESTART>;
71 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
72 };
73
74 wps {
75 label = "wps";
76 linux,code = <KEY_WPS_BUTTON>;
77 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
78 };
79 };
80 };
81
82 &wifi0 {
83 status = "okay";
84 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
85 };
86
87 &wifi1 {
88 status = "okay";
89 ieee80211-freq-limit = <5170000 5330000>;
90 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
91 };
92
93 &wifi2 {
94 status = "okay";
95 ieee80211-freq-limit = <5490000 5835000>;
96 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
97 };