aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ea8300.dts
blob: 9c1e0f04bbea500d506e64aa1be14bf2f96802e7 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

/dts-v1/;

#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 = "ea8300:amber:plug";
			gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
		};

		led_world: internet {
			label = "ea8300:amber:world";
			gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
		};

		led_wps: wps {
			label = "ea8300:white:wps";
			gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
		};

		led_wps_amber: wps_amber {
			label = "ea8300:amber:wps";
			gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
			panic-indicator;
		};

		led_linksys: pwr {
			label = "ea8300:white:linksys";
			gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
		};

		// On back panel, above USB socket

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