diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2015-03-16 17:43:09 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-03-31 06:04:12 -0400 |
commit | e14ba3cdd6dddb004def9811ee057576e53ca9a0 (patch) | |
tree | fbfe1a762bb74c3afcc37eeceada57cc4df3c953 | |
parent | b76a4c1ae1923b0b21d1a97e972cb2ce39791aa1 (diff) |
MIPS: Document Pistachio boot protocol and device-tree bindings
The Pistachio SoC boots only with device-tree. Document the required
properties and nodes as well as the boot protocol between the bootlaoder
and the kernel.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: James Hartley <james.hartley@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/9568/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | Documentation/devicetree/bindings/mips/img/pistachio.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mips/img/pistachio.txt b/Documentation/devicetree/bindings/mips/img/pistachio.txt new file mode 100644 index 000000000000..a736d889c2b8 --- /dev/null +++ b/Documentation/devicetree/bindings/mips/img/pistachio.txt | |||
@@ -0,0 +1,42 @@ | |||
1 | Imagination Pistachio SoC | ||
2 | ========================= | ||
3 | |||
4 | Required properties: | ||
5 | -------------------- | ||
6 | - compatible: Must include "img,pistachio". | ||
7 | |||
8 | CPU nodes: | ||
9 | ---------- | ||
10 | A "cpus" node is required. Required properties: | ||
11 | - #address-cells: Must be 1. | ||
12 | - #size-cells: Must be 0. | ||
13 | A CPU sub-node is also required for at least CPU 0. Since the topology may | ||
14 | be probed via CPS, it is not necessary to specify secondary CPUs. Required | ||
15 | propertis: | ||
16 | - device_type: Must be "cpu". | ||
17 | - compatible: Must be "mti,interaptiv". | ||
18 | - reg: CPU number. | ||
19 | - clocks: Must include the CPU clock. See ../../clock/clock-bindings.txt for | ||
20 | details on clock bindings. | ||
21 | Example: | ||
22 | cpus { | ||
23 | #address-cells = <1>; | ||
24 | #size-cells = <0>; | ||
25 | |||
26 | cpu0: cpu@0 { | ||
27 | device_type = "cpu"; | ||
28 | compatible = "mti,interaptiv"; | ||
29 | reg = <0>; | ||
30 | clocks = <&clk_core CLK_MIPS>; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | |||
35 | Boot protocol: | ||
36 | -------------- | ||
37 | In accordance with the MIPS UHI specification[1], the bootloader must pass the | ||
38 | following arguments to the kernel: | ||
39 | - $a0: -2. | ||
40 | - $a1: KSEG0 address of the flattened device-tree blob. | ||
41 | |||
42 | [1] http://prplfoundation.org/wiki/MIPS_documentation | ||