[ramips] move memory detect node to dtsi files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / DAP-1350.dts
index a484b34f726a0b82f1cf4b66aad2f76c041c4a3e..4eab53abe53bab37015b5c101b99261421baa173 100644 (file)
@@ -6,12 +6,8 @@
        compatible = "DAP-1350", "ralink,rt3052-soc";
        model = "D-Link DAP-1350";
 
-       memorydetect {
-               ralink,memory = <0x0 0x200000 0x4000000>;
-       };
-
        chosen {
-               bootargs = "console=ttyS0,115200 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(devdata)ro,192k(devconf)ro,256k(devlang)ro,7488k@0xb0000(firmware)";
+               bootargs = "console=ttyS0,115200";
        };
 
        palmbus@10000000 {
                device-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
+
+               partition@0 {
+                       label = "u-boot";
+                       reg = <0x0 0x30000>;
+                       read-only;
+               };
+
+               partition@30000 {
+                       label = "devdata";
+                       reg = <0x30000 0x10000>;
+                       read-only;
+               };
+
+               partition@40000 {
+                       label = "devconf";
+                       reg = <0x40000 0x30000>;
+                       read-only;
+               };
+
+               partition@70000 {
+                       label = "devlang";
+                       reg = <0x70000 0x40000>;
+                       read-only;
+               };
+
+               partition@b0000 {
+                       label = "firmware";
+                       reg = <0xb0000 0x750000>;
+               };
        };
 
        ethernet@10100000 {