diff options
author | Scott Wood <scottwood@freescale.com> | 2007-09-14 14:24:02 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-04 12:02:34 -0400 |
commit | 96fca1dea8f32e96668d55727d66416fdd67360b (patch) | |
tree | 2e7c810fd76475d9c9cbb17af4ef6d99c82513e1 /Documentation/powerpc/booting-without-of.txt | |
parent | 2d2294ae12827a97c9daa253f1ce99e7ae3195d7 (diff) |
[POWERPC] Document local bus nodes in the device tree, and update cuboot-pq2.
The localbus node is used to describe devices that are connected via a chip
select or similar mechanism. The advantages over placing the devices under
the root node are that it can be probed without probing other random things
under the root, and that the description of which chip select a given device
uses can be used to set up mappings if the firmware failed to do so in a
useful manner.
cuboot-pq2 is updated to match the binding; previously, it called itself
chipselect rather than localbus, and used phandle linkage between the
actual bus node and the control node (the current agreement is to simply use
the fully-qualified address of the control registers, and ignore the overlap
with the IMMR node).
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'Documentation/powerpc/booting-without-of.txt')
-rw-r--r-- | Documentation/powerpc/booting-without-of.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt index a599f1a8a145..c36dcd2fbdc4 100644 --- a/Documentation/powerpc/booting-without-of.txt +++ b/Documentation/powerpc/booting-without-of.txt | |||
@@ -2017,6 +2017,44 @@ platforms are moved over to use the flattened-device-tree model. | |||
2017 | fsl,cpm-command = <2e600000>; | 2017 | fsl,cpm-command = <2e600000>; |
2018 | }; | 2018 | }; |
2019 | 2019 | ||
2020 | m) Chipselect/Local Bus | ||
2021 | |||
2022 | Properties: | ||
2023 | - name : Should be localbus | ||
2024 | - #address-cells : Should be either two or three. The first cell is the | ||
2025 | chipselect number, and the remaining cells are the | ||
2026 | offset into the chipselect. | ||
2027 | - #size-cells : Either one or two, depending on how large each chipselect | ||
2028 | can be. | ||
2029 | - ranges : Each range corresponds to a single chipselect, and cover | ||
2030 | the entire access window as configured. | ||
2031 | |||
2032 | Example: | ||
2033 | localbus@f0010100 { | ||
2034 | compatible = "fsl,mpc8272ads-localbus", | ||
2035 | "fsl,mpc8272-localbus", | ||
2036 | "fsl,pq2-localbus"; | ||
2037 | #address-cells = <2>; | ||
2038 | #size-cells = <1>; | ||
2039 | reg = <f0010100 40>; | ||
2040 | |||
2041 | ranges = <0 0 fe000000 02000000 | ||
2042 | 1 0 f4500000 00008000>; | ||
2043 | |||
2044 | flash@0,0 { | ||
2045 | compatible = "jedec-flash"; | ||
2046 | reg = <0 0 2000000>; | ||
2047 | bank-width = <4>; | ||
2048 | device-width = <1>; | ||
2049 | }; | ||
2050 | |||
2051 | board-control@1,0 { | ||
2052 | reg = <1 0 20>; | ||
2053 | compatible = "fsl,mpc8272ads-bcsr"; | ||
2054 | }; | ||
2055 | }; | ||
2056 | |||
2057 | |||
2020 | More devices will be defined as this spec matures. | 2058 | More devices will be defined as this spec matures. |
2021 | 2059 | ||
2022 | VII - Specifying interrupt information for devices | 2060 | VII - Specifying interrupt information for devices |