* [PATCH 2/2] [POWERPC] MPC8568E-MDS: add support for flash
[not found] <9aefd05e0d526cb1c6b5c7905581ec781093eb88.1192462414.git.avorontsov@ru.mvista.com>
@ 2007-10-15 15:35 ` Anton Vorontsov
0 siblings, 0 replies; only message in thread
From: Anton Vorontsov @ 2007-10-15 15:35 UTC (permalink / raw)
To: linuxppc-dev
MPC8568E-MDS have 1 32MB Spansion x16 CFI flash chip. Let's use it.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
Patch is against galak/powerpc.git master branch.
arch/powerpc/boot/dts/mpc8568mds.dts | 35 +++++++++++++++++++++++++++++++++-
1 files changed, 34 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index 296adc3..c3b2138 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -47,12 +47,45 @@
#address-cells = <2>;
#size-cells = <1>;
reg = <f0000000 10000000>;
- ranges = <0 0 f8000000 0008000>;
+ ranges = <0 0 f8000000 0008000
+ 1 0 fe000000 2000000>;
bcsr@0,0 {
device_type = "board-control";
reg = <0 0 8000>;
};
+
+ flash@1,0 {
+ compatible = "Spansion,S29GL256N11TFIV2O", "cfi-flash";
+ reg = <1 0 2000000>;
+ probe-type = "CFI";
+ bank-width = <2>;
+ device-width = <1>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ hrcw@0 {
+ label = "hrcw";
+ reg = <0 20001>;
+ read-only;
+ };
+
+ kernel@20000 {
+ label = "kernel";
+ reg = <20000 200000>;
+ };
+
+ rootfs@220000 {
+ label = "rootfs";
+ reg = <220000 1d60000>;
+ };
+
+ uboot@1f80000 {
+ label = "u-boot";
+ reg = <1f80000 80000>;
+ read-only;
+ };
+ };
};
soc8568@e0000000 {
--
1.5.0.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-15 15:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <9aefd05e0d526cb1c6b5c7905581ec781093eb88.1192462414.git.avorontsov@ru.mvista.com>
2007-10-15 15:35 ` [PATCH 2/2] [POWERPC] MPC8568E-MDS: add support for flash Anton Vorontsov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).