ramips: fix usercfg partition offset for WHR-1166D
[openwrt.git] / target / linux / ramips / dts / AIR3GII.dts
index f375a74..4a26546 100644 (file)
@@ -7,12 +7,6 @@
        model = "AirLive Air3GII";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
                gpio0: gpio@600 {
                        status = "okay";
                };
                };
        };
 
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "i2c", "jtag", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x4>;
        };
 
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
                wlan {
@@ -85,8 +91,4 @@
                        linux,code = <0x211>;
                };
        };
-
-       wmac@10180000 {
-               status = "okay";
-       };
 };