hostapd: Fix compile against mbedtsl 3.6
[openwrt/staging/nbd.git] / target / linux / ipq40xx / files-6.1 / arch / arm / boot / dts / qcom-ipq4019-mr8300.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 MR8300 (Dallas)";
9 compatible = "linksys,mr8300", "qcom,ipq4019";
10
11 aliases {
12 led-boot = &led_blue;
13 led-failsafe = &led_red;
14 led-running = &led_blue;
15 led-upgrade = &led_amber;
16 serial0 = &blsp1_uart1;
17 };
18
19 // Top panel LEDs, above Linksys logo
20 leds {
21 compatible = "gpio-leds";
22
23 led_red: red {
24 function = LED_FUNCTION_ALARM;
25 color = <LED_COLOR_ID_RED>;
26 gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
27 };
28
29 led_amber: amber {
30 function = LED_FUNCTION_PROGRAMMING;
31 color = <LED_COLOR_ID_AMBER>;
32 gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
33 panic-indicator;
34 };
35
36 led_blue: blue {
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_BLUE>;
39 gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
40 };
41
42 // On back panel, above USB socket
43
44 led_usb: usb {
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>,
49 <&usb2_port1>;
50 linux,default-trigger = "usbport";
51 };
52 };
53
54 keys {
55 compatible = "gpio-keys";
56
57 reset {
58 label = "reset";
59 linux,code = <KEY_RESTART>;
60 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
61 };
62
63 wps {
64 label = "wps";
65 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
67 };
68 };
69 };
70
71 &wifi0 {
72 status = "okay";
73 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
74 };
75
76 &wifi1 {
77 status = "okay";
78 ieee80211-freq-limit = <5170000 5330000>;
79 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
80 };
81
82 &wifi2 {
83 status = "okay";
84 ieee80211-freq-limit = <5490000 5835000>;
85 qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
86 };