aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-10-10 12:24:58 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-10-16 08:10:14 -0400
commitdf36680f1a71eef97685c30eb9eaf55a6813b6cd (patch)
tree6bf34e2c07d101dab4f93c7863dfb80b23cd8afd /Documentation/devicetree/bindings/arm
parent99d14a1d9b876c9847608983606fa1928f5bf8f3 (diff)
ARM: integrator: core module registers from compatible strings
This augments the core machine code for the Integrator platforms to get their references to the core module device nodes by using compatible strings instead of predefined node names and rename the CP syscon node to be simply "syscon". Reported-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm')
-rw-r--r--Documentation/devicetree/bindings/arm/arm-boards30
1 files changed, 17 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/arm/arm-boards b/Documentation/devicetree/bindings/arm/arm-boards
index 0ebf3d94e8bf..5fac246a9530 100644
--- a/Documentation/devicetree/bindings/arm/arm-boards
+++ b/Documentation/devicetree/bindings/arm/arm-boards
@@ -19,18 +19,22 @@ Required nodes:
19 - regs: the location and size of the core module registers, one 19 - regs: the location and size of the core module registers, one
20 range of 0x200 bytes. 20 range of 0x200 bytes.
21 21
22- cpcon/syscon: the root node the Integrator/CP must have a /cpcon 22- syscon: the root node of the Integrator platforms must have a
23 node pointing to the CP control registers, and the Integrator/AP 23 system controller node pointong to the control registers,
24 must have a /syscon node pointing to the Integrator/AP system 24 with the compatible string
25 controller. The AP syscon node must include the logical module 25 "arm,integrator-ap-syscon"
26 interrupts. 26 "arm,integrator-cp-syscon"
27 27 respectively.
28In the root node the Integrator/CP must have a /cpcon node pointing 28
29to the CP control registers, and the Integrator/AP must have a 29 Required properties for the system controller:
30/syscon node pointing to the Integrator/AP system controller. 30 - regs: the location and size of the system controller registers,
31The AP syscon node must include the logic module interrupts, stated 31 one range of 0x100 bytes.
32in order of module instance <module 0, module 1, module 2 ...> 32
33example: 33 Required properties for the AP system controller:
34 - interrupts: the AP syscon node must include the logical module
35 interrupts, stated in order of module instance <module 0>,
36 <module 1>, <module 2> ... for the CP system controller this
37 is not required not of any use.
34 38
35/dts-v1/; 39/dts-v1/;
36/include/ "integrator.dtsi" 40/include/ "integrator.dtsi"
@@ -45,7 +49,7 @@ example:
45 }; 49 };
46 50
47 syscon { 51 syscon {
48 /* AP system controller registers */ 52 compatible = "arm,integrator-ap-syscon";
49 reg = <0x11000000 0x100>; 53 reg = <0x11000000 0x100>;
50 interrupt-parent = <&pic>; 54 interrupt-parent = <&pic>;
51 /* These are the logic module IRQs */ 55 /* These are the logic module IRQs */