linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dtc: add bus-frequency prop to SOC node
@ 2006-01-18 15:20 Becky Bruce
  2006-01-19  1:29 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Becky Bruce @ 2006-01-18 15:20 UTC (permalink / raw)
  To: david; +Cc: linuxppc-dev

Updated SOC node definition in documentation to include bus-frequency
property. Also extended mdio example to match specification.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>

---
commit d7c0e0c8f51ac5023d92cdcf539f0ecea8a94e43
tree c66c0f8066d695e220a265cfdfbe6e508c5f3925
parent f192a7ae0ba797478920b7980159e0b2047b45f1
author Becky Bruce <becky.bruce@freescale.com> Wed, 18 Jan 2006 09:16:14 -0600
committer Becky Bruce <becky.bruce@freescale.com> Wed, 18 Jan 2006 09:16:14 -0600

 Documentation/booting-without-of.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Documentation/booting-without-of.txt b/Documentation/booting-without-of.txt
index 60d5b7a..39aa3c1 100644
--- a/Documentation/booting-without-of.txt
+++ b/Documentation/booting-without-of.txt
@@ -880,6 +880,9 @@ address which can extend beyond that lim
     - device_type : Should be "soc"
     - ranges : Should be defined as specified in 1) to describe the
       translation of SOC addresses for memory mapped SOC registers.  
+    - bus-frequency: Contains the bus frequency for the SOC node.
+      Typically, the value of this field is filled in by the boot
+      loader. 
 
   Recommended properties:
 
@@ -919,6 +922,7 @@ SOC.   
 		device_type = "soc";
 		ranges = <00000000 e0000000 00100000>
 		reg = <e0000000 00003000>;
+		bus-frequency = <0>;
 	}
 
 
@@ -1170,6 +1174,8 @@ platforms are moved over to use the flat
 
 	mdio@24520 {
 		reg = <24520 20>;
+		device_type = "mdio"; 
+		compatible = "gianfar";
 
 		ethernet-phy@0 {
 			......
@@ -1317,6 +1323,7 @@ not necessary as they are usually the sa
 		device_type = "soc";
 		ranges = <00000000 e0000000 00100000>
 		reg = <e0000000 00003000>;
+		bus-frequency = <0>;
 
 		mdio@24520 {
 			reg = <24520 20>;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dtc: add bus-frequency prop to SOC node
  2006-01-18 15:20 [PATCH] dtc: add bus-frequency prop to SOC node Becky Bruce
@ 2006-01-19  1:29 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2006-01-19  1:29 UTC (permalink / raw)
  To: Becky Bruce; +Cc: linuxppc-dev

On Wed, Jan 18, 2006 at 09:20:58AM -0600, Becky Bruce wrote:
> Updated SOC node definition in documentation to include bus-frequency
> property. Also extended mdio example to match specification.
> 
> Signed-off-by: Becky Bruce <becky.bruce@freescale.com>

Looks sane enough to me, but I don't think I'm the right person to be
assessing changes to this document merely because it's hosted in the
dtc git tree for now.  I'll apply if I get an Ack from Paulus or BenH.

Had a brief chat to Paulus - we might look at moving this document to
Documentation/ in the kernel tree, arguably a better place for it.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-19  1:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-18 15:20 [PATCH] dtc: add bus-frequency prop to SOC node Becky Bruce
2006-01-19  1:29 ` David Gibson

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).