ralink: set the mac addr via the dts file
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DIR-810L.dts
index 193771b5a6807464c88ee53895dae198ef764513..d8a035a1cf11badda04e98937beaa8c4fcbf3757 100644 (file)
@@ -7,20 +7,9 @@
        model = "D-Link DIR-810L";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "spi", "uartlite", "ephy";
-                       ralink,gpiomux = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "wled";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-
                spi@b00 {
                        status = "okay";
-               
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                };
        };
 
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "jtag", "mdio", "rgmii1", "rgmii1", "i2c", "wled", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x28>;
        };
 
        gsw@10110000 {
-               status = "okay";
                ralink,port4 = "ephy";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&ephy_pins>;
        };
 
        pcie@10140000 {