]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
SPEAr: Add SMI NOR partition info in dts files
authorViresh Kumar <viresh.kumar@st.com>
Tue, 1 May 2012 12:39:22 +0000 (18:09 +0530)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 May 2012 19:50:04 +0000 (21:50 +0200)
This patch adds NOR partitions in all SPEAr boards dts files.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/spear300-evb.dts
arch/arm/boot/dts/spear310-evb.dts
arch/arm/boot/dts/spear320-evb.dts
arch/arm/boot/dts/spear600-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 {
index c86af33f700ef3d14d799f6199458536bf70ed2e..f7ecb0c1c6e8180d66e3ed399c369673d8a03902 100644 (file)
                        clock-rate=<50000000>;
 
                        flash@f8000000 {
-                               label = "m25p64";
-                               reg = <0xf8000000 0x800000>;
                                #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>;
+                               };
                        };
                };
 
index d43de712e863224efc6d44c82e11a661d4079b50..8fb59d805be3b43cd55b2ec182409f9e18e952c4 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 {
index 790a7a8a5ccd05f2e622d2256090bb3956718e7d..1119c22c9a829479b716263d1faf3b5db0c7c601 100644 (file)
                        status = "okay";
                };
 
+               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>;
+                               };
+                       };
+               };
+
                apb {
                        serial@d0000000 {
                                status = "okay";