Skip to content

Commit

Permalink
SPEAr: Add SMI NOR partition info in dts files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Viresh Kumar authored and Arnd Bergmann committed May 12, 2012
1 parent 30551c0 commit 30a0d03
Showing 4 changed files with 97 additions and 2 deletions.
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/spear300-evb.dts
Original file line number Diff line number Diff line change
@@ -49,6 +49,31 @@

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 {
20 changes: 18 additions & 2 deletions arch/arm/boot/dts/spear310-evb.dts
Original file line number Diff line number Diff line change
@@ -42,11 +42,27 @@
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>;
};
};
};

25 changes: 25 additions & 0 deletions arch/arm/boot/dts/spear320-evb.dts
Original file line number Diff line number Diff line change
@@ -49,6 +49,31 @@

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 {
29 changes: 29 additions & 0 deletions arch/arm/boot/dts/spear600-evb.dts
Original file line number Diff line number Diff line change
@@ -33,6 +33,35 @@
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";

0 comments on commit 30a0d03

Please sign in to comment.