ralink: set the mac addr via the dts file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / F5D8235_V1.dts
index 41a7f122c8f25941870eb58884354939b0594892..e0215651767afecadbdf44ff037faab6fcf245b3 100644 (file)
@@ -9,18 +9,20 @@
        model = "Belkin F5D8235 v1";
 
        palmbus@300000 {
-               sysc@0 {
-                       ralink,pinmux = "uartlite";
-                       ralink,gpiomux = "i2c";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
                gpio0: gpio@600 {
                        status = "okay";
                };
        };
 
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
 
        ethernet@400000 {
                status = "okay";
+               mtd-mac-address = <&factory 0x4>;
 
-               ralink,fixed-link = <1000 1 1 1>;
+                port@0 {
+                       ralink,fixed-link = <1000 1 1 1>;
+               };
        };
 
        wmac@480000 {