mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-24 16:28:46 +00:00
Like in the previous patches for ath79 and ramips, this will remove the "devicename" from LED labels in ipq40xx. The devicename is removed in DTS files and 01_leds, and a migration script is added. While at it, also harmonize capitalization of wlan2G/wlan5G vs. wlan2g/wlan5g. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
96 lines
1.8 KiB
Plaintext
96 lines
1.8 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "qcom-ipq4019-xx8300.dtsi"
|
|
|
|
/ {
|
|
model = "Linksys EA8300 (Dallas)";
|
|
compatible = "linksys,ea8300", "qcom,ipq4019";
|
|
|
|
|
|
aliases {
|
|
led-boot = &led_wps_amber;
|
|
led-failsafe = &led_wps;
|
|
led-running = &led_linksys;
|
|
led-upgrade = &led_world;
|
|
serial0 = &blsp1_uart1;
|
|
};
|
|
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
// Retain node names from running OEM on EA8300
|
|
|
|
// Front panel LEDs, top to bottom
|
|
|
|
led_plug: diag {
|
|
label = "amber:plug";
|
|
gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led_world: internet {
|
|
label = "amber:world";
|
|
gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led_wps: wps {
|
|
label = "white:wps";
|
|
gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led_wps_amber: wps_amber {
|
|
label = "amber:wps";
|
|
gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
|
|
panic-indicator;
|
|
};
|
|
|
|
led_linksys: pwr {
|
|
label = "white:linksys";
|
|
gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
// On back panel, above USB socket
|
|
|
|
led_usb: usb {
|
|
label = "green:usb";
|
|
gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
|
|
trigger-sources = <&usb3_port1>, <&usb3_port2>,
|
|
<&usb2_port1>;
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
};
|
|
|
|
keys {
|
|
compatible = "gpio-keys";
|
|
|
|
reset {
|
|
label = "reset";
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wps {
|
|
label = "wps";
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&wifi0 {
|
|
status = "okay";
|
|
qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
|
|
};
|
|
|
|
&wifi1 {
|
|
status = "okay";
|
|
ieee80211-freq-limit = <5170000 5330000>;
|
|
qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
|
|
};
|
|
|
|
&wifi2 {
|
|
status = "okay";
|
|
ieee80211-freq-limit = <5490000 5835000>;
|
|
qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
|
|
};
|