ramips: mt7628: use mac-base
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_netgear_r6120.dts
1 #include "mt7628an_netgear_r6xxx.dtsi"
2
3 / {
4 compatible = "netgear,r6120", "mediatek,mt7628an-soc";
5 model = "Netgear R6120";
6
7 aliases {
8 label-mac-device = &ethernet;
9 };
10
11 usb-regulator {
12 compatible = "regulator-fixed";
13
14 regulator-name = "USB-power";
15 gpio = <&gpio 45 GPIO_ACTIVE_HIGH>;
16 regulator-min-microvolt = <5000000>;
17 regulator-max-microvolt = <5000000>;
18 enable-active-high;
19
20 regulator-always-on;
21 };
22 };
23
24 &state_default {
25 gpio {
26 groups = "p0led_an", "p1led_an", "p2led_an", "p3led_an",
27 "p4led_an", "wdt", "wled_an", "uart1";
28 function = "gpio";
29 };
30 };
31
32 &partitions {
33 partition@90000 {
34 compatible = "denx,uimage";
35 label = "firmware";
36 reg = <0x90000 0xf60000>;
37 };
38
39 partition@ff0000 {
40 label = "reserved";
41 reg = <0xff0000 0x10000>;
42 read-only;
43 };
44 };
45
46 &wifi5 {
47 nvmem-cells = <&macaddr_factory_4 2>;
48 nvmem-cell-names = "mac-address";
49 };