SPEAr: Add SMI NOR partition info in dts files
[linux-block.git] / arch / arm / boot / dts / spear300-evb.dts
index 6a79d69775b51ed1ddf6a1ca72233e4d3197a751..bf491a332145861ac50f3af66d8823dee077111a 100644 (file)
 
                smi: flash@fc000000 {
                        status = "okay";
+                       clock-rate=<50000000>;
+
+                       flash@f8000000 {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               reg = <0xf8000000 0x800000>;
+                               st,smi-fast-mode;
+
+                               partition@0 {
+                                       label = "xloader";
+                                       reg = <0x0 0x10000>;
+                               };
+                               partition@10000 {
+                                       label = "u-boot";
+                                       reg = <0x10000 0x40000>;
+                               };
+                               partition@50000 {
+                                       label = "linux";
+                                       reg = <0x50000 0x2c0000>;
+                               };
+                               partition@310000 {
+                                       label = "rootfs";
+                                       reg = <0x310000 0x4f0000>;
+                               };
+                       };
                };
 
                spi0: spi@d0100000 {