Fix Asus rt-n15 board support
authorJohn Crispin <john@openwrt.org>
Sat, 12 Apr 2014 21:22:04 +0000 (21:22 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 12 Apr 2014 21:22:04 +0000 (21:22 +0000)
* gpio leds and buttons
* ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40494

target/linux/ramips/dts/RT-N15.dts

index 77e640fe9fc70add6660165d314f489134abd778..893652055fe7153794b1e3bc1b236db200255617 100644 (file)
@@ -9,18 +9,20 @@
        model = "Asus RT-N15";
 
        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 = "i2c", "uartlite", "mdio";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -46,7 +48,7 @@
                        read-only;
                };
                partition@50000 {
-                       label = "linux";
+                       label = "firmware";
                        reg = <0x50000 0x3b0000>;
                };
        };
                 port@0 {
                        ralink,fixed-link = <1000 1 1 1>;
                };
+
+               mdio-bus {
+                       status = "okay";
+                       phy0: ethernet-phy@0 {
+                               phy-mode = "mii";
+                               reg = <0>;
+                       };
+               };
        };
 
        rtl8366s {