Commit 30a0d037 authored by Viresh Kumar's avatar Viresh Kumar Committed by Arnd Bergmann

SPEAr: Add SMI NOR partition info in dts files

This patch adds NOR partitions in all SPEAr boards dts files.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@st.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 30551c01
...@@ -49,6 +49,31 @@ sdhci@70000000 { ...@@ -49,6 +49,31 @@ sdhci@70000000 {
smi: flash@fc000000 { smi: flash@fc000000 {
status = "okay"; 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 { spi0: spi@d0100000 {
......
...@@ -42,11 +42,27 @@ smi: flash@fc000000 { ...@@ -42,11 +42,27 @@ smi: flash@fc000000 {
clock-rate=<50000000>; clock-rate=<50000000>;
flash@f8000000 { flash@f8000000 {
label = "m25p64";
reg = <0xf8000000 0x800000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0xf8000000 0x800000>;
st,smi-fast-mode; 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>;
};
}; };
}; };
......
...@@ -49,6 +49,31 @@ sdhci@70000000 { ...@@ -49,6 +49,31 @@ sdhci@70000000 {
smi: flash@fc000000 { smi: flash@fc000000 {
status = "okay"; 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 { spi0: spi@d0100000 {
......
...@@ -33,6 +33,35 @@ gmac: ethernet@e0800000 { ...@@ -33,6 +33,35 @@ gmac: ethernet@e0800000 {
status = "okay"; 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 { apb {
serial@d0000000 { serial@d0000000 {
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment