aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/powerpc/booting-without-of.txt
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-12-08 01:07:56 -0500
committerDmitry Torokhov <dtor@insightbb.com>2006-12-08 01:07:56 -0500
commitbef986502fa398b1785a3979b1aa17cd902d3527 (patch)
treeb59c1afe7b1dfcc001b86e54863f550d7ddc8c34 /Documentation/powerpc/booting-without-of.txt
parent4bdbd2807deeccc0793d57fb5120d7a53f2c0b3c (diff)
parentc99767974ebd2a719d849fdeaaa1674456f5283f (diff)
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: drivers/usb/input/hid.h
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r--Documentation/powerpc/booting-without-of.txt47
1 files changed, 43 insertions, 4 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 27b457c09729..b3bd36668db3 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -6,6 +6,8 @@
6 IBM Corp. 6 IBM Corp.
7(c) 2005 Becky Bruce <becky.bruce at freescale.com>, 7(c) 2005 Becky Bruce <becky.bruce at freescale.com>,
8 Freescale Semiconductor, FSL SOC and 32-bit additions 8 Freescale Semiconductor, FSL SOC and 32-bit additions
9(c) 2006 MontaVista Software, Inc.
10 Flash chip node definition
9 11
10 May 18, 2005: Rev 0.1 - Initial draft, no chapter III yet. 12 May 18, 2005: Rev 0.1 - Initial draft, no chapter III yet.
11 13
@@ -33,13 +35,13 @@
33 - Change version 16 format to always align 35 - Change version 16 format to always align
34 property data to 4 bytes. Since tokens are 36 property data to 4 bytes. Since tokens are
35 already aligned, that means no specific 37 already aligned, that means no specific
36 required alignement between property size 38 required alignment between property size
37 and property data. The old style variable 39 and property data. The old style variable
38 alignment would make it impossible to do 40 alignment would make it impossible to do
39 "simple" insertion of properties using 41 "simple" insertion of properties using
40 memove (thanks Milton for 42 memove (thanks Milton for
41 noticing). Updated kernel patch as well 43 noticing). Updated kernel patch as well
42 - Correct a few more alignement constraints 44 - Correct a few more alignment constraints
43 - Add a chapter about the device-tree 45 - Add a chapter about the device-tree
44 compiler and the textural representation of 46 compiler and the textural representation of
45 the tree that can be "compiled" by dtc. 47 the tree that can be "compiled" by dtc.
@@ -854,7 +856,7 @@ address which can extend beyond that limit.
854 console device if any. Typically, if you have serial devices on 856 console device if any. Typically, if you have serial devices on
855 your board, you may want to put the full path to the one set as 857 your board, you may want to put the full path to the one set as
856 the default console in the firmware here, for the kernel to pick 858 the default console in the firmware here, for the kernel to pick
857 it up as it's own default console. If you look at the funciton 859 it up as its own default console. If you look at the function
858 set_preferred_console() in arch/ppc64/kernel/setup.c, you'll see 860 set_preferred_console() in arch/ppc64/kernel/setup.c, you'll see
859 that the kernel tries to find out the default console and has 861 that the kernel tries to find out the default console and has
860 knowledge of various types like 8250 serial ports. You may want 862 knowledge of various types like 8250 serial ports. You may want
@@ -1124,7 +1126,7 @@ should have the following properties:
1124 - interrupt-parent : contains the phandle of the interrupt 1126 - interrupt-parent : contains the phandle of the interrupt
1125 controller which handles interrupts for this device 1127 controller which handles interrupts for this device
1126 - interrupts : a list of tuples representing the interrupt 1128 - interrupts : a list of tuples representing the interrupt
1127 number and the interrupt sense and level for each interupt 1129 number and the interrupt sense and level for each interrupt
1128 for this device. 1130 for this device.
1129 1131
1130This information is used by the kernel to build the interrupt table 1132This information is used by the kernel to build the interrupt table
@@ -1693,6 +1695,43 @@ platforms are moved over to use the flattened-device-tree model.
1693 }; 1695 };
1694 }; 1696 };
1695 1697
1698 g) Flash chip nodes
1699
1700 Flash chips (Memory Technology Devices) are often used for solid state
1701 file systems on embedded devices.
1702
1703 Required properties:
1704
1705 - device_type : has to be "rom"
1706 - compatible : Should specify what this ROM device is compatible with
1707 (i.e. "onenand"). Currently, this is most likely to be "direct-mapped"
1708 (which corresponds to the MTD physmap mapping driver).
1709 - regs : Offset and length of the register set (or memory mapping) for
1710 the device.
1711
1712 Recommended properties :
1713
1714 - bank-width : Width of the flash data bus in bytes. Required
1715 for the NOR flashes (compatible == "direct-mapped" and others) ONLY.
1716 - partitions : Several pairs of 32-bit values where the first value is
1717 partition's offset from the start of the device and the second one is
1718 partition size in bytes with LSB used to signify a read only
1719 partititon (so, the parition size should always be an even number).
1720 - partition-names : The list of concatenated zero terminated strings
1721 representing the partition names.
1722
1723 Example:
1724
1725 flash@ff000000 {
1726 device_type = "rom";
1727 compatible = "direct-mapped";
1728 regs = <ff000000 01000000>;
1729 bank-width = <4>;
1730 partitions = <00000000 00f80000
1731 00f80000 00080001>;
1732 partition-names = "fs\0firmware";
1733 };
1734
1696 More devices will be defined as this spec matures. 1735 More devices will be defined as this spec matures.
1697 1736
1698 1737