aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_netgear_r6120.dts
blob: f4d9823cd29a635518899f91b03cd725e14ebcdf (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
#include "mt7628an_netgear_r6xxx.dtsi"

/ {
	compatible = "netgear,r6120", "mediatek,mt7628an-soc";
	model = "Netgear R6120";

	aliases {
		label-mac-device = &ethernet;
	};

	usb-regulator {
		compatible = "regulator-fixed";

		regulator-name = "USB-power";
		gpio = <&gpio 45 GPIO_ACTIVE_HIGH>;
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		enable-active-high;

		regulator-always-on;
	};
};

&state_default {
	gpio {
		groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
		         "p4led_an", "wdt", "wled_an", "uart1";
		function = "gpio";
	};
};

&partitions {
	partition@90000 {
		compatible = "denx,uimage";
		label = "firmware";
		reg = <0x90000 0xf60000>;
	};

	partition@ff0000 {
		label = "reserved";
		reg = <0xff0000 0x10000>;
		read-only;
	};
};

&wifi5 {
	mtd-mac-address = <&factory 0x4>;
	mtd-mac-address-increment = <(2)>;
};