[PATCH] dtc: add bus-frequency prop to SOC node

Subsystems: documentation, the rest

STALE7530d

2 messages, 2 authors, 2006-01-19 · open the first message on its own page

[PATCH] dtc: add bus-frequency prop to SOC node

From: Becky Bruce <hidden>
Date: 2006-01-18 15:20:58

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

Signed-off-by: Becky Bruce <redacted>

---
commit d7c0e0c8f51ac5023d92cdcf539f0ecea8a94e43
tree c66c0f8066d695e220a265cfdfbe6e508c5f3925
parent f192a7ae0ba797478920b7980159e0b2047b45f1
author Becky Bruce [off-list ref] Wed, 18 Jan 2006 09:16:14 -0600
committer Becky Bruce [off-list ref] 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>;

Re: [PATCH] dtc: add bus-frequency prop to SOC node

From: David Gibson <hidden>
Date: 2006-01-19 01:29:25

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 <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help