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

#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 = "green:power";
			gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
		};

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

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

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

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

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

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