oxnas: unify MTD partition names
[openwrt/staging/wigyori.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-shuttle-kd20.dts
index badfa2578e3ef2bc1ffb8e1e447577e1d4a65894..1f88e76e50e3aa0a52c4f44c83aa29e7de544349 100644 (file)
        compatible = "shuttle,kd20", "oxsemi,ox820";
 
        chosen {
-               bootargs = "earlyprintk";
+               bootargs = "earlyprintk console=ttyS0,115200";
                stdout-path = "serial0:115200n8";
        };
 
        memory {
-               /* 128Mbytes DDR */
-               reg = <0x60000000 0x8000000>;
+               /* 256Mbytes DDR */
+               reg = <0x60000000 0x10000000>;
        };
 
        aliases {
@@ -37,7 +37,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
@@ -65,7 +65,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
                status {
                        label = "kd20:blue:status";
                };
 
                partition@40000 {
-                       label = "u-boot";
-                       reg = <0x00040000 0x00200000>;
+                       label = "uboot";
+                       reg = <0x00040000 0x001e0000>;
                        read-only;
                };
 
+               partition@220000 {
+                       label = "uboot_env";
+                       reg = <0x00220000 0x00020000>;
+               };
+
                partition@240000 {
                        label = "initrd";
                        reg = <0x00240000 0x00600000>;