ramips: mt76x8: fix bogus mediatek,portmap
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / mt7628an_wavlink_wl-wn570ha1.dts
index a07490b8535855b793108a4781813c809d526823..a38907400cc6f8a1c7858eb57698c706eded17b7 100644 (file)
                bootargs = "console=ttyS0,57600";
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "i2c", "wled_an", "p0led_an", "wdt", "refclk";
+               ralink,function = "gpio";
        };
 };
 
 
 &ethernet {
        mtd-mac-address = <&factory 0x2e>;
-       mediatek,portmap = "llllw";
+};
+
+&esw {
+       mediatek,portmap = <0x2f>;
 };