From: Wade Farnsworth <wfarnsworth@mvista.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts
Date: Tue, 22 Jan 2008 13:13:39 -0700 [thread overview]
Message-ID: <1201032819.5716.170.camel@rhino> (raw)
In-Reply-To: <1201019917.5716.154.camel@rhino>
Add local bus, flash, and MTD partition nodes to mpc8641_hpcn.dts
Also add compatible field for the soc node, so that it will be picked up
by of_platform_bus_probe().
Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
---
Updated per Kumar's comments.
arch/powerpc/boot/dts/mpc8641_hpcn.dts | 42 +++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
index a719179..556a9ca 100644
--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -60,10 +60,52 @@
reg = <00000000 40000000>; // 1G at 0x0
};
+ localbus@f8005000 {
+ #address-cells = <2>;
+ #size-cells = <1>;
+ compatible = "fsl,mpc8641-localbus", "simple-bus";
+ reg = <f8005000 1000>;
+ interrupts = <13 2>;
+ interrupt-parent = <&mpic>;
+
+ ranges = <0 0 ff800000 00800000
+ 1 0 fe000000 01000000
+ 2 0 f8200000 00100000
+ 3 0 f8100000 00100000>;
+
+ flash@0,0 {
+ compatible = "cfi-flash";
+ reg = <0 0 00800000>;
+ bank-width = <2>;
+ device-width = <2>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ partition@0 {
+ label = "kernel";
+ reg = <00000000 00300000>;
+ };
+ partition@300000 {
+ label = "firmware b";
+ reg = <00300000 00100000>;
+ read-only;
+ };
+ partition@400000 {
+ label = "fs";
+ reg = <00400000 00300000>;
+ };
+ partition@700000 {
+ label = "firmware a";
+ reg = <00700000 00100000>;
+ read-only;
+ };
+ };
+ };
+
soc8641@f8000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
+ compatible = "simple-bus";
ranges = <00000000 f8000000 00100000>;
reg = <f8000000 00001000>; // CCSRBAR
bus-frequency = <0>;
next prev parent reply other threads:[~2008-01-22 20:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 16:38 [PATCH 1/2] Add flash node to mpc8641_hpcn.dts Wade Farnsworth
2008-01-22 16:44 ` Kumar Gala
2008-01-22 16:47 ` Wade Farnsworth
2008-01-22 16:49 ` Kumar Gala
2008-01-22 16:47 ` [PATCH 2/2] MPC8641 HPCN: publish all soc and flash devices Wade Farnsworth
2008-01-22 16:50 ` Kumar Gala
2008-01-22 23:26 ` Stephen Rothwell
2008-01-22 20:13 ` Wade Farnsworth [this message]
2008-01-22 20:17 ` [PATCH v2 2/2] MPC8641 HPCN: call of_platform_bus_probe() Wade Farnsworth
2008-01-22 20:36 ` Kumar Gala
2008-01-22 23:28 ` Stephen Rothwell
2008-01-22 23:36 ` Kumar Gala
2008-01-22 20:37 ` [PATCH v2 1/2] Add localbus and flash nodes to mpc8641_hpcn.dts Kumar Gala
2008-01-22 20:41 ` Jon Loeliger
2008-01-22 21:07 ` Kumar Gala
2008-01-22 21:19 ` Wade Farnsworth
2008-01-22 21:22 ` Jon Loeliger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1201032819.5716.170.camel@rhino \
--to=wfarnsworth@mvista.com \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.