aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts
blob: aad8a6776d29edcfadbd5b509327ce4e609c2b82 (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

#include "mt7621_mikrotik_routerboard-7xx.dtsi"

/ {
	compatible = "mikrotik,routerboard-750gr3", "mediatek,mt7621-soc";
	model = "MikroTik RouterBOARD 750Gr3";

	aliases {
		led-boot = &led_usr;
		led-failsafe = &led_usr;
		led-running = &led_usr;
		led-upgrade = &led_usr;
	};

	leds {
		compatible = "gpio-leds";

		pwr {
			label = "blue:pwr";
			gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		led_usr: usr {
			label = "green:usr";
			gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
		};
	};
};

&state_default {
	gpio {
		groups = "uart2", "jtag", "wdt";
		function = "gpio";
	};
};

&gmac1 {
	status = "okay";
	label = "wan";
	phy-handle = <&ethphy0>;
};

&mdio {
	ethphy0: ethernet-phy@0 {
		reg = <0>;
	};
};

&switch0 {
	ports {
		port@0 {
			status = "disabled";
		};
	};
};