ramips: fix MikroTik 750Gr3 ports MAC addresses
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr841n-v14.dts
index 1654e1819fed5f385a730be3b827cf5fc010068c..eaac196c19f412ce77d545a4b576ee3b8a44f9c1 100644 (file)
@@ -27,7 +27,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                lan {
                        label = "tl-wr841n-v14:green:lan";
-                       gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wan_green {
                        label = "tl-wr841n-v14:green:wan";
-                       gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan: wlan {
                        label = "tl-wr841n-v14:green:wlan";
-                       gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wan_orange {
                        label = "tl-wr841n-v14:orange:wan";
-                       gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
 &state_default {
        gpio {
-               ralink,group = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt";
-               ralink,function = "gpio";
+               groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an", "p0led_an", "wdt";
+               function = "gpio";
        };
 };
 
-&gpio1 {
+&gpio {
        led_wlan_enable {
                gpio-hog;
-               gpios = <11 GPIO_ACTIVE_HIGH>;
+               gpios = <43 GPIO_ACTIVE_HIGH>;
                output-high;
        };
 };