aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts8
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network3
2 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
index a065ce804d..e268b233d4 100644
--- a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
+++ b/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
@@ -145,22 +145,22 @@
port@1 {
status = "okay";
- label = "lan1";
+ label = "lan2";
};
port@2 {
status = "okay";
- label = "lan2";
+ label = "lan3";
};
port@3 {
status = "okay";
- label = "lan3";
+ label = "lan4";
};
port@4 {
status = "okay";
- label = "lan4";
+ label = "lan5";
};
};
};
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index e2a8a9392d..d73305981f 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -39,6 +39,9 @@ ramips_setup_interfaces()
ubnt,unifi-nanohd)
ucidef_set_interface_lan "lan"
;;
+ mikrotik,rb750gr3)
+ ucidef_set_interfaces_lan_wan "lan2 lan3 lan4 lan5" "wan"
+ ;;
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp)
ucidef_set_interface_lan "eth0 eth1 eth2 eth3 eth4"