ralink: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / TEW-691GR.dts
index eb2d4bc6af903e77a3d97967b270b5b66916354c..33f8925bd012ce63e867f77a0a54c69ed3c607a4 100644 (file)
@@ -7,32 +7,26 @@
        model = "TRENDnet TEW-691GR";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "uartlite";
-                       ralink,gpiomux = "i2c", "jtag";
-                       ralink,uartmux = "gpio";
-                       ralink,pcimux = "pci-fnc";
-                       ralink,wdtmux = <1>;
-               };
-
-               timer@100 {
-                       status = "okay";
-               };
-
-               gpio0: gpio@600 {
+               gpio1: gpio@638 {
                        status = "okay";
                };
+       };
 
-               gpio1: gpio@638 {
-                       status = "okay";
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "spi", "i2c", "jtag", "uartf";
+                               ralink,function = "gpio";
+                       };
                };
        };
 
        ethernet@10100000 {
-               status = "okay";
-               phy-handle = <&phy0>;
-               phy-mode = "rgmii";
-
+               mtd-mac-address = <&factory 0x28>;
+               port@0 {
+                       phy-handle = <&phy0>;
+                       phy-mode = "rgmii";
+               };
                mdio-bus {
                        status = "okay";
 
@@ -43,7 +37,6 @@
        };
 
        wmac@10180000 {
-               status = "okay";
                ralink,5ghz = <0>;
        };
 
@@ -67,7 +60,7 @@
                        read-only;
                };
 
-               partition@40000 {
+               factory: partition@40000 {
                        reg = <0x00040000 0x00010000>;
                        label = "factory";
                        read-only;