Skip to contentSkip to conversation

: Document the global utilities node define and example

PATCH In review Zang Roy-r61911 2 participants 3 messages Jun 19, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 : Document the global utilities node define and example

From: Roy Zang <[email protected]>

Document the global utilities node define and example.

---
Based on current paul's tree!

 Documentation/powerpc/booting-without-of.txt |   28 ++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
Documentation/powerpc/booting-without-of.txt +28 -0
index d42d981..bdae4fc 100644
@@ -51,6 +51,7 @@ Table of Contents
       h) Board Control and Status (BCSR)
       i) Freescale QUICC Engine module (QE)
       g) Flash chip nodes
+      k) Global Utilities Block
 
   VII - Specifying interrupt information for devices
     1) interrupts property
@@ -1782,6 +1783,33 @@ platforms are moved over to use the flattened-device-tree model.
  		partition-names = "fs\0firmware";
  	};
 
+   k) Global Utilities Block
+
+   The global utilities block controls power management, I/O device 
+   enabling, power-on-reset configuration monitoring, general-purpose
+   I/O signal configuration, alternate function selection for multiplexed
+   signals, and clock control.
+
+   Required properties:
+
+    - compatible : Should define the compatible device type for
+      global-utilities.
+    - reg : Offset and length of the register set for the device.
+
+  Recommended properties:
+
+    - fsl,has-rstcr : Indicates that the global utilities register set
+      contains a functioning "reset control register" (i.e. the board
+      is wired to reset upon setting the HRESET_REQ bit in this register).
+
+    Example:
+
+	global-utilities@e0000 {	/* global utilities reg */
+		compatible = "fsl,mpc8548-guts";
+		reg = <e0000 1000>;
+		fsl,has-rstcr;
+	};
+
    More devices will be defined as this spec matures.
 
 VII - Specifying interrupt information for devices
Signature · 1 line
1.5.1
Acked-by on v1 1/2
#1 lore raw
Quoted 2 lines

Document the global utilities node define and example.

Thanks for documenting this stuff. One nit though...

Documentation/powerpc/booting-without-of.txt platforms are moved over to use the flattened-device-tree model. · line 1807

Quoted 1 line
Documentation/powerpc/booting-without-of.txt +1 -0
+	global-utilities@e0000 {	/* global utilities reg */

s/reg/block/ . It's not a single 32768 bit register I'm sure (how would you access it?!) :-)

Segher

#2 lore raw
Quoted 11 lines · Segher Boessenkool
Quoted 2 lines

Document the global utilities node define and example.

Thanks for documenting this stuff. One nit though...

Quoted 1 line

+ global-utilities@e0000 { /* global utilities reg */

s/reg/block/ . It's not a single 32768 bit register I'm sure (how would you access it?!) :-)

I access it by a 32768 bit wide bus -:)!
Roy