lantiq: fix building AVM/EVA sysupgrade images on NOR devices
[oweals/openwrt.git] / target / linux / lantiq / dts / DGN3500.dtsi
index 48e2471e47579f88858ffec61a18c371270961dc..bc50e4ae6501b0433b097dc00c7c0e3f821a1d6f 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        chosen {
-               bootargs-append = "root= console=ttyLTQ0,115200";
+               bootargs = "root= console=ttyLTQ0,115200";
 
                leds {
                        boot = &power_green;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <4 0>;
-               spi-max-frequency = <1000000>;
+               spi-max-frequency = <20000000>;
 
-               partition@0 {
-                       reg = <0x0 0x10000>;
-                       label = "uboot";
-                       read-only;
-               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
 
-               partition@10000 {
-                       reg = <0x10000 0x10000>;
-                       label = "uboot-env";
-                       read-only;
-               };
+                       partition@0 {
+                               reg = <0x0 0x10000>;
+                               label = "uboot";
+                               read-only;
+                       };
 
-               ath9k_cal: partition@20000 {
-                       reg = <0x20000 0x10000>;
-                       label = "calibration";
-                       read-only;
-               };
+                       partition@10000 {
+                               reg = <0x10000 0x10000>;
+                               label = "uboot-env";
+                               read-only;
+                       };
+
+                       ath9k_cal: partition@20000 {
+                               reg = <0x20000 0x10000>;
+                               label = "calibration";
+                               read-only;
+                       };
 
-               partition@50000 {
-                       reg = <0x50000 0xfa0000>;
-                       label = "firmware";
+                       partition@50000 {
+                               reg = <0x50000 0xfa0000>;
+                               label = "firmware";
+                       };
                };
        };
 };