lantiq: xrx200: use vlan for ethernet wan port
[openwrt/staging/chunkeey.git] / target / linux / lantiq / dts / BTHOMEHUBV5A.dts
index 2dea92709568a80f879bd5420b34a10f163b9b03..59b6cee9b80874a7656e1def1034d0a3f355cf39 100644 (file)
@@ -8,7 +8,7 @@
        model = "BTHOMEHUBV5A - BT Home Hub 5A";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "console=ttyLTQ0,115200";
        };
 
        aliases {
@@ -33,6 +33,9 @@
                                reg = <0x1 0x0 0x2000000>;
                                #address-cells = <1>;
                                #size-cells = <1>;
+                               nand-on-flash-bbt;
+                               nand-ecc-strength = <3>;
+                               nand-ecc-step-size = <256>;
 
                                partitions {
                                        compatible = "fixed-partitions";
 
                                        partition@0 {
                                                label = "u-boot";
-                                               reg = <0x0 0x40000>;
+                                               reg = <0x0 0xa0000>;
                                                read-only;
                                        };
-                                       partition@40000 {
+                                       partition@a0000 {
                                                label = "uboot-env";
-                                               reg = <0x40000 0x40000>;
-                                       };
-                                       caldata: partition@80000 {
-                                               label = "caldata";
-                                               reg = <0x80000 0x20000>;
+                                               reg = <0xa0000 0x20000>;
                                                read-only;
                                        };
-                                       partition@a0000 {
-                                               label = "kernel";
-                                               reg = <0xa0000 0x200000>;
+                                       partition@c0000 {
+                                               label = "unused";
+                                               reg = <0xc0000 0x40000>;
                                        };
-                                       partition@2a0000 {
+                                       partition@100000 {
                                                label = "ubi";
-                                               reg = <0x2a0000 0x7d60000>;
+                                               reg = <0x100000 0x7e80000>;
                                        };
+                                       /*
+                                        * last 512 KiB are for the bad block table, not writable
+                                        */
                                };
                        };
                };
                reg = <0x7000 0 0 0 0>;
                qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
                qca,disable-5ghz;
-               mtd-mac-address = <&caldata 0x110c>;
-               mtd-mac-address-increment = <2>;
        };
 };
 
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0>;
-               mtd-mac-address = <&caldata 0x110c>;
                lantiq,switch;
 
                ethernet@0 {
                        phy-mode = "gmii";
                        phy-handle = <&phy13>;
                };
-       };
-
-       wan: interface@1 {
-               compatible = "lantiq,xrx200-pdi";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <1>;
-               mtd-mac-address = <&caldata 0x110c>;
-               mtd-mac-address-increment = <4>;
-               lantiq,wan;
-
                ethernet@5 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <5>;