ramips: mt7621: nix mac-address-increment
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_mikrotik_routerboard-m11g.dts
1 #include "mt7621_mikrotik.dtsi"
2
3 / {
4 compatible = "mikrotik,routerboard-m11g", "mediatek,mt7621-soc";
5 model = "MikroTik RouterBOARD M11G";
6
7 aliases {
8 led-boot = &led_usr;
9 led-failsafe = &led_usr;
10 led-running = &led_usr;
11 led-upgrade = &led_usr;
12 };
13
14 leds {
15 compatible = "gpio-leds";
16
17 led_usr: usr {
18 label = "green:usr";
19 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
20 };
21
22 rssi0 {
23 label = "green:rssi0";
24 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
25 };
26
27 rssi1 {
28 label = "green:rssi1";
29 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
30 };
31
32 rssi2 {
33 label = "green:rssi2";
34 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
35 };
36
37 rssi3 {
38 label = "green:rssi3";
39 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
40 };
41
42 rssi4 {
43 label = "green:rssi4";
44 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
45 };
46 };
47
48 pcie0_vcc_reg {
49 compatible = "regulator-fixed";
50 regulator-name = "pcie0_vcc";
51
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
54 gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
55 enable-active-high;
56 regulator-boot-on;
57 regulator-always-on;
58 };
59 };
60
61 &partitions {
62 partition@40000 {
63 compatible = "mikrotik,minor";
64 label = "firmware";
65 reg = <0x040000 0xfc0000>;
66 };
67 };
68
69 &ethernet {
70 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
71 };
72
73 &switch0 {
74 ports {
75 port@0 {
76 status = "okay";
77 label = "lan";
78 };
79 };
80 };
81
82 &state_default {
83 gpio {
84 groups = "uart2", "wdt", "rgmii2";
85 function = "gpio";
86 };
87 };
88
89 &i2c {
90 status = "okay";
91 };
92
93 &pcie {
94 status = "okay";
95 };