aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620n_netgear_jwnr2010-v5.dts
blob: fb84c0020388017e7065358fa87074b44440513e (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "mt7620n_netgear_n300.dtsi"

/ {
	compatible = "netgear,jwnr2010-v5", "ralink,mt7620n-soc";
	model = "Netgear JWNR2010 v5";

	aliases {
		led-boot = &led_power;
		led-failsafe = &led_power;
		led-running = &led_power;
		led-upgrade = &led_power;
		label-mac-device = &ethernet;
	};

	leds {
		compatible = "gpio-leds";

		led_power: power {
			label = "jwnr2010-v5:green:power";
			gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		};

		wan {
			label = "jwnr2010-v5:green:wan";
			gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
		};

		wlan {
			label = "jwnr2010-v5:green:wlan";
			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "phy0radio";
		};

		lan1 {
			label = "jwnr2010-v5:green:lan1";
			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
		};

		lan2 {
			label = "jwnr2010-v5:green:lan2";
			gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
		};

		lan3 {
			label = "jwnr2010-v5:green:lan3";
			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
		};

		lan4 {
			label = "jwnr2010-v5:green:lan4";
			gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
		};
	};
};