aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTsahee Zidenberg <tsahee@annapurnalabs.com>2015-03-12 07:53:09 -0400
committerArnd Bergmann <arnd@arndb.de>2015-03-16 10:25:17 -0400
commit60f9e37ac6aa15c85a3bd92fb76669e66f554d6c (patch)
treeef8b772444b2899839628fffa11875620f613a8d
parente9e06f2853dd86791e665b2aa3c8acb5b0007e07 (diff)
ARM: dts: Alpine platform binding documentation
This patch introduces documentation for alpine devicetree bindings. Signed-off-by: Barak Wasserstrom <barak@annapurnalabs.com> Signed-off-by: Tsahee Zidenberg <tsahee@annapurnalabs.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--Documentation/devicetree/bindings/arm/al,alpine.txt88
-rw-r--r--Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp52
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
3 files changed, 141 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/al,alpine.txt b/Documentation/devicetree/bindings/arm/al,alpine.txt
new file mode 100644
index 000000000000..f404a4f9b165
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/al,alpine.txt
@@ -0,0 +1,88 @@
1Annapurna Labs Alpine Platform Device Tree Bindings
2---------------------------------------------------------------
3
4Boards in the Alpine family shall have the following properties:
5
6* Required root node properties:
7compatible: must contain "al,alpine"
8
9* Example:
10
11/ {
12 model = "Annapurna Labs Alpine Dev Board";
13 compatible = "al,alpine";
14
15 ...
16}
17
18* CPU node:
19
20The Alpine platform includes cortex-a15 cores.
21enable-method: must be "al,alpine-smp" to allow smp [1]
22
23Example:
24
25cpus {
26 #address-cells = <1>;
27 #size-cells = <0>;
28 enable-method = "al,alpine-smp";
29
30 cpu@0 {
31 compatible = "arm,cortex-a15";
32 device_type = "cpu";
33 reg = <0>;
34 };
35
36 cpu@1 {
37 compatible = "arm,cortex-a15";
38 device_type = "cpu";
39 reg = <1>;
40 };
41
42 cpu@2 {
43 compatible = "arm,cortex-a15";
44 device_type = "cpu";
45 reg = <2>;
46 };
47
48 cpu@3 {
49 compatible = "arm,cortex-a15";
50 device_type = "cpu";
51 reg = <3>;
52 };
53};
54
55
56* Alpine CPU resume registers
57
58The CPU resume register are used to define required resume address after
59reset.
60
61Properties:
62- compatible : Should contain "al,alpine-cpu-resume".
63- reg : Offset and length of the register set for the device
64
65Example:
66
67cpu_resume {
68 compatible = "al,alpine-cpu-resume";
69 reg = <0xfbff5ed0 0x30>;
70};
71
72* Alpine System-Fabric Service Registers
73
74The System-Fabric Service Registers allow various operation on CPU and
75system fabric, like powering CPUs off.
76
77Properties:
78- compatible : Should contain "al,alpine-sysfabric-service" and "syscon".
79- reg : Offset and length of the register set for the device
80
81Example:
82
83nb_service {
84 compatible = "al,alpine-sysfabric-service", "syscon";
85 reg = <0xfb070000 0x10000>;
86};
87
88[1] arm/cpu-enable-method/al,alpine-smp
diff --git a/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp b/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp
new file mode 100644
index 000000000000..c2e0cc5e4cfd
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/cpu-enable-method/al,alpine-smp
@@ -0,0 +1,52 @@
1========================================================
2Secondary CPU enable-method "al,alpine-smp" binding
3========================================================
4
5This document describes the "al,alpine-smp" method for
6enabling secondary CPUs. To apply to all CPUs, a single
7"al,alpine-smp" enable method should be defined in the
8"cpus" node.
9
10Enable method name: "al,alpine-smp"
11Compatible machines: "al,alpine"
12Compatible CPUs: "arm,cortex-a15"
13Related properties: (none)
14
15Note:
16This enable method requires valid nodes compatible with
17"al,alpine-cpu-resume" and "al,alpine-nb-service"[1].
18
19Example:
20
21cpus {
22 #address-cells = <1>;
23 #size-cells = <0>;
24 enable-method = "al,alpine-smp";
25
26 cpu@0 {
27 compatible = "arm,cortex-a15";
28 device_type = "cpu";
29 reg = <0>;
30 };
31
32 cpu@1 {
33 compatible = "arm,cortex-a15";
34 device_type = "cpu";
35 reg = <1>;
36 };
37
38 cpu@2 {
39 compatible = "arm,cortex-a15";
40 device_type = "cpu";
41 reg = <2>;
42 };
43
44 cpu@3 {
45 compatible = "arm,cortex-a15";
46 device_type = "cpu";
47 reg = <3>;
48 };
49};
50
51--
52[1] arm/al,alpine.txt
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index aeb5bb5b7791..0c5d6bbafd69 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -11,6 +11,7 @@ adapteva Adapteva, Inc.
11adh AD Holdings Plc. 11adh AD Holdings Plc.
12adi Analog Devices, Inc. 12adi Analog Devices, Inc.
13aeroflexgaisler Aeroflex Gaisler AB 13aeroflexgaisler Aeroflex Gaisler AB
14al Annapurna Labs
14allwinner Allwinner Technology Co., Ltd. 15allwinner Allwinner Technology Co., Ltd.
15alphascale AlphaScale Integrated Circuits Systems, Inc. 16alphascale AlphaScale Integrated Circuits Systems, Inc.
16altr Altera Corp. 17altr Altera Corp.