ramips: fix MikroTik 750Gr3 ports MAC addresses
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_tplink_8m-split-uboot.dtsi
index 04c6062e1607c2045726def1af611274502ece50..157136bd09c34122bd01ee256435c7dfafb5bbda 100644 (file)
@@ -1,10 +1,17 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 #include "mt7628an.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
 / {
        chosen {
                bootargs = "console=ttyS0,115200";
        };
+
+       aliases {
+               label-mac-device = &ethernet;
+       };
 };
 
 &spi0 {
@@ -80,5 +87,8 @@
 
 &ethernet {
        mtd-mac-address = <&rom 0xf100>;
-       mediatek,portmap = "llllw";
+};
+
+&esw {
+       mediatek,portmap = <0x3e>;
 };