lantiq: fix vr9 ubi handling
[openwrt.git] / target / linux / lantiq / dts / FRITZ3370.dts
index 0017ddedf198fc573c78980f50ee0dd81a7fe7b1..c0202bab0fbfddaefaa4140f910487a21e778a1b 100644 (file)
@@ -6,7 +6,7 @@
        model = "FRITZ3370 - Fritz!Box WLAN 3370";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200";
+               bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
        };
 
        memory@0 {
                                #size-cells = <1>;
 
                                partition@0 {
-                                       label = "firmware";
-                                       reg = <0x00000 0x3400000>;
+                                       label = "kernel";
+                                       reg = <0x0 0x400000>;
+                               };
+
+                               partition@400000 {
+                                       label = "rootfs_ubi";
+                                       reg = <0x400000 0x3000000>;
                                };
 
                                partition@3400000 {
                                        lantiq,groups = "spi", "spi_cs4";
                                        lantiq,function = "gpio";
                                };
-                               nand_out {
-                                       lantiq,groups = "nand cle", "nand ale", "nand rd", "ebu a23", "ebu a24";
-                                       lantiq,function = "ebu";
-                                       lantiq,direction = <1>;
-                                       lantiq,pull = <0>;
-                               };
-                               nand_in {
-                                       lantiq,groups = "nand rdy";
-                                       lantiq,function = "ebu";
-                                       lantiq,direction = <0>;
-                                       lantiq,open-drain = <1>;
-                                       lantiq,pull = <2>;
-                               };
                                mdio {
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
+                               nand {
+                                       lantiq,groups = "nand cle", "nand ale",
+                                                       "nand rd", "nand cs1", "nand rdy";
+                                       lantiq,function = "ebu";
+                                       lantiq,pull = <1>;
+                               };
                                phy-rst {
                                        lantiq,pins = "io37", "io44";
                                        lantiq,pull = <0>;
                                #size-cells = <0>;
                                reg = <0>;
                                mac-address = [ 00 11 22 33 44 55 ];
+                               lantiq,switch;
 
                                ethernet@0 {
                                        compatible = "lantiq,xrx200-pdi-port";