aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mr8300.dts
blob: 4818a2df598187879593ea1e77b63a1433a35937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

/dts-v1/;

#include "qcom-ipq4019-xx8300.dtsi"

/ {
	model = "Linksys MR8300 (Dallas)";
	compatible = "linksys,mr8300", "qcom,ipq4019";

	aliases {
		led-boot = &led_blue;
		led-failsafe = &led_red;
		led-running = &led_blue;
		led-upgrade = &led_amber;
		serial0 = &blsp1_uart1;
	};

	// Top panel LEDs, above Linksys logo
	leds {
		compatible = "gpio-leds";

		led_red: red {
			label = "mr8300:red:alarm";
			gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
		};

		led_amber: amber {
			label = "mr8300:amber:programming";
			gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
			panic-indicator;
		};

		led_blue: blue {
			label = "mr8300:blue:power";
			gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
		};

		// On back panel, above USB socket

		led_usb: usb {
			label = "mr8300: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-mr8300-v0-fcc";
};

&wifi1 {
	status = "okay";
	ieee80211-freq-limit = <5170000 5330000>;
	qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
};

&wifi2 {
	status = "okay";
	ieee80211-freq-limit = <5490000 5835000>;
	qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
};