ralink: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / WSR-1166.dts
index 98c1dccd0584588df73759f8d77e3855e90253f7..9892782597ece9be21067bbd180d0e44d02bc2a4 100644 (file)
@@ -7,6 +7,7 @@
        model = "Buffalo WSR-1166DHP";
 
        memory@0 {
+               device_type = "memory";
                reg = <0x0 0x8000000>;
        };
 
 
                                partition@50000 {
                                        label = "firmware";
-                                       reg = <0x50000 0x6b0000>;
+                                       reg = <0x50000 0x7c0000>;
                                };
 
-                               partition@f700000 {
+                               partition@810000 {
+                                       label = "firmware2";
+                                       reg = <0x810000 0x7c0000>;
+                               };
+
+                               partition@fd00000 {
                                        label = "usercfg";
-                                       reg = <0x700000 0x100000>;
+                                       reg = <0xfd0000 0x10000>;
+                               };
+
+                               partition@fe00000 {
+                                       label = "board_data";
+                                       reg = <0xfe0000 0x10000>;
                                };
                        };
                };
                compatible = "gpio-poweroff";
                gpios = <&gpio0 0 1>;
        };
+
+       pcie@1e140000 {
+               status = "okay";
+
+               pcie0 {
+                       mt76@0,0 {
+                               reg = <0x0000 0 0 0 0>;
+                               device_type = "pci";
+                               mediatek,mtd-eeprom = <&factory 0x8000>;
+                               mediatek,2ghz = <0>;
+                       };
+               };
+
+               pcie1 {
+                       mt76@1,0 {
+                               reg = <0x0000 0 0 0 0>;
+                               device_type = "pci";
+                               mediatek,mtd-eeprom = <&factory 0x0000>;
+                               mediatek,5ghz = <0>;
+                       };
+               };
+       };
 };