ipq40xx: switch default to 6.6
[openwrt/openwrt.git] / target / linux / ipq40xx / files-6.1 / arch / arm / boot / dts / qcom-ipq4019-ea8300.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
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 = "amber:plug";
30 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
31 };
32
33 led_world: internet {
34 label = "amber:world";
35 gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
36 };
37
38 led_wps: wps {
39 function = LED_FUNCTION_WPS;
40 color = <LED_COLOR_ID_WHITE>;
41 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
42 };
43
44 led_wps_amber: wps_amber {
45 function = LED_FUNCTION_WPS;
46 color = <LED_COLOR_ID_AMBER>;
47 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
48 panic-indicator;
49 };
50
51 led_linksys: pwr {
52 label = "white:linksys";
53 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
54 };
55
56 // On back panel, above USB socket
57
58 led_usb: usb {
59 function = LED_FUNCTION_USB;
60 color = <LED_COLOR_ID_GREEN>;
61 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
62 trigger-sources = <&usb3_port1>, <&usb3_port2>,
63 <&usb2_port1>;
64 linux,default-trigger = "usbport";
65 };
66 };
67
68 keys {
69 compatible = "gpio-keys";
70
71 reset {
72 label = "reset";
73 linux,code = <KEY_RESTART>;
74 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
75 };
76
77 wps {
78 label = "wps";
79 linux,code = <KEY_WPS_BUTTON>;
80 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
81 };
82 };
83 };
84
85 &wifi0 {
86 status = "okay";
87 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
88 };
89
90 &wifi1 {
91 status = "okay";
92 ieee80211-freq-limit = <5170000 5330000>;
93 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
94 };
95
96 &wifi2 {
97 status = "okay";
98 ieee80211-freq-limit = <5490000 5835000>;
99 qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
100 };