diff options
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index d42d98107d49..0c2434822094 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -42,15 +42,16 @@ Table of Contents | |||
42 | 1) Defining child nodes of an SOC | 42 | 1) Defining child nodes of an SOC |
43 | 2) Representing devices without a current OF specification | 43 | 2) Representing devices without a current OF specification |
44 | a) MDIO IO device | 44 | a) MDIO IO device |
45 | c) PHY nodes | ||
46 | b) Gianfar-compatible ethernet nodes | 45 | b) Gianfar-compatible ethernet nodes |
46 | c) PHY nodes | ||
47 | d) Interrupt controllers | 47 | d) Interrupt controllers |
48 | e) I2C | 48 | e) I2C |
49 | f) Freescale SOC USB controllers | 49 | f) Freescale SOC USB controllers |
50 | g) Freescale SOC SEC Security Engines | 50 | g) Freescale SOC SEC Security Engines |
51 | h) Board Control and Status (BCSR) | 51 | h) Board Control and Status (BCSR) |
52 | i) Freescale QUICC Engine module (QE) | 52 | i) Freescale QUICC Engine module (QE) |
53 | g) Flash chip nodes | 53 | j) Flash chip nodes |
54 | k) Global Utilities Block | ||
54 | 55 | ||
55 | VII - Specifying interrupt information for devices | 56 | VII - Specifying interrupt information for devices |
56 | 1) interrupts property | 57 | 1) interrupts property |
@@ -626,6 +627,14 @@ So the node content can be summarized as a start token, a full path, | |||
626 | a list of properties, a list of child nodes, and an end token. Every | 627 | a list of properties, a list of child nodes, and an end token. Every |
627 | child node is a full node structure itself as defined above. | 628 | child node is a full node structure itself as defined above. |
628 | 629 | ||
630 | NOTE: The above definition requires that all property definitions for | ||
631 | a particular node MUST precede any subnode definitions for that node. | ||
632 | Although the structure would not be ambiguous if properties and | ||
633 | subnodes were intermingled, the kernel parser requires that the | ||
634 | properties come first (up until at least 2.6.22). Any tools | ||
635 | manipulating a flattened tree must take care to preserve this | ||
636 | constraint. | ||
637 | |||
629 | 4) Device tree "strings" block | 638 | 4) Device tree "strings" block |
630 | 639 | ||
631 | In order to save space, property names, which are generally redundant, | 640 | In order to save space, property names, which are generally redundant, |
@@ -1782,6 +1791,33 @@ platforms are moved over to use the flattened-device-tree model. | |||
1782 | partition-names = "fs\0firmware"; | 1791 | partition-names = "fs\0firmware"; |
1783 | }; | 1792 | }; |
1784 | 1793 | ||
1794 | k) Global Utilities Block | ||
1795 | |||
1796 | The global utilities block controls power management, I/O device | ||
1797 | enabling, power-on-reset configuration monitoring, general-purpose | ||
1798 | I/O signal configuration, alternate function selection for multiplexed | ||
1799 | signals, and clock control. | ||
1800 | |||
1801 | Required properties: | ||
1802 | |||
1803 | - compatible : Should define the compatible device type for | ||
1804 | global-utilities. | ||
1805 | - reg : Offset and length of the register set for the device. | ||
1806 | |||
1807 | Recommended properties: | ||
1808 | |||
1809 | - fsl,has-rstcr : Indicates that the global utilities register set | ||
1810 | contains a functioning "reset control register" (i.e. the board | ||
1811 | is wired to reset upon setting the HRESET_REQ bit in this register). | ||
1812 | |||
1813 | Example: | ||
1814 | |||
1815 | global-utilities@e0000 { /* global utilities block */ | ||
1816 | compatible = "fsl,mpc8548-guts"; | ||
1817 | reg = <e0000 1000>; | ||
1818 | fsl,has-rstcr; | ||
1819 | }; | ||
1820 | |||
1785 | More devices will be defined as this spec matures. | 1821 | More devices will be defined as this spec matures. |
1786 | 1822 | ||
1787 | VII - Specifying interrupt information for devices | 1823 | VII - Specifying interrupt information for devices |