ralink: set the mac addr via the dts file
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / BR-6425.dts
index 7529b6b6e5dcbe719a973aa2915050c36603be21..7df63c6583ea1aea7995119fa54a79b7e7b00f3f 100644 (file)
@@ -6,17 +6,13 @@
        compatible = "BR-6425", "ralink,rt3052-soc";
        model = "Edimax BR-6425";
 
-       palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
                };
-
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-
        };
 
        cfi@1f000000 {
        };
 
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x4>;
        };
 
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
        };
 
@@ -66,8 +61,4 @@
                        linux,code = <0xf7>;
                };
        };
-
-       wmac@10180000 {
-               status = "okay";
-       };
 };