lantiq: DGN1000B - fix typo in dts file
[librecmc/librecmc.git] / target / linux / lantiq / dts / FRITZ3370.dts
index 0017ddedf198fc573c78980f50ee0dd81a7fe7b1..91eb7b60b7fa77cdcdf27c2aead8ea5fe0e4b751 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";
                m25p80@0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       compatible = "mx25l2005a";
+                       compatible = "jedec,spi-nor";
                        reg = <0 0>;
-                       linux,modalias = "m25p80", "mx25l2005a";
                        spi-max-frequency = <1000000>;
 
                        ath9k_cal: partition@0 {