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