1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qcom-ipq4019-xx8300.dtsi"
8 model = "Linksys MR8300 (Dallas)";
9 compatible = "linksys,mr8300", "qcom,ipq4019";
13 led-failsafe = &led_red;
14 led-running = &led_blue;
15 led-upgrade = &led_amber;
16 serial0 = &blsp1_uart1;
19 // Top panel LEDs, above Linksys logo
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_ALARM;
25 color = <LED_COLOR_ID_RED>;
26 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
30 function = LED_FUNCTION_PROGRAMMING;
31 color = <LED_COLOR_ID_AMBER>;
32 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_BLUE>;
39 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
42 // On back panel, above USB socket
45 function = LED_FUNCTION_USB;
46 color = <LED_COLOR_ID_GREEN>;
47 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
48 trigger-sources = <&usb3_port1>, <&usb3_port2>,
50 linux,default-trigger = "usbport";
55 compatible = "gpio-keys";
59 linux,code = <KEY_RESTART>;
60 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
73 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
78 ieee80211-freq-limit = <5170000 5330000>;
79 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
84 ieee80211-freq-limit = <5490000 5835000>;
85 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";