diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-05-20 22:18:37 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-20 22:18:37 -0400 |
commit | 8d6c1efa51236bb781f202aa13b9f4ba654978c6 (patch) | |
tree | c5110676a2be7d9879caad3f30291cf6657661b3 /Documentation/devicetree | |
parent | 3679362355f6ec6abdbd8f38da3d89f94746a2a5 (diff) | |
parent | 0a68214b76ca858c46b73d2e9792671f0ac0b7e2 (diff) |
Merge branch 'devicetree/merge' into devicetree/next
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/arm/gic.txt | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index 9b4b82a721b6..62eb8df1e08d 100644 --- a/Documentation/devicetree/bindings/arm/gic.txt +++ b/Documentation/devicetree/bindings/arm/gic.txt | |||
@@ -11,7 +11,9 @@ have PPIs or SGIs. | |||
11 | Main node required properties: | 11 | Main node required properties: |
12 | 12 | ||
13 | - compatible : should be one of: | 13 | - compatible : should be one of: |
14 | "arm,cortex-a15-gic" | ||
14 | "arm,cortex-a9-gic" | 15 | "arm,cortex-a9-gic" |
16 | "arm,cortex-a7-gic" | ||
15 | "arm,arm11mp-gic" | 17 | "arm,arm11mp-gic" |
16 | - interrupt-controller : Identifies the node as an interrupt controller | 18 | - interrupt-controller : Identifies the node as an interrupt controller |
17 | - #interrupt-cells : Specifies the number of cells needed to encode an | 19 | - #interrupt-cells : Specifies the number of cells needed to encode an |
@@ -39,8 +41,9 @@ Main node required properties: | |||
39 | the GIC cpu interface register base and size. | 41 | the GIC cpu interface register base and size. |
40 | 42 | ||
41 | Optional | 43 | Optional |
42 | - interrupts : Interrupt source of the parent interrupt controller. Only | 44 | - interrupts : Interrupt source of the parent interrupt controller on |
43 | present on secondary GICs. | 45 | secondary GICs, or VGIC maintainance interrupt on primary GIC (see |
46 | below). | ||
44 | 47 | ||
45 | - cpu-offset : per-cpu offset within the distributor and cpu interface | 48 | - cpu-offset : per-cpu offset within the distributor and cpu interface |
46 | regions, used when the GIC doesn't have banked registers. The offset is | 49 | regions, used when the GIC doesn't have banked registers. The offset is |
@@ -57,3 +60,31 @@ Example: | |||
57 | <0xfff10100 0x100>; | 60 | <0xfff10100 0x100>; |
58 | }; | 61 | }; |
59 | 62 | ||
63 | |||
64 | * GIC virtualization extensions (VGIC) | ||
65 | |||
66 | For ARM cores that support the virtualization extensions, additional | ||
67 | properties must be described (they only exist if the GIC is the | ||
68 | primary interrupt controller). | ||
69 | |||
70 | Required properties: | ||
71 | |||
72 | - reg : Additional regions specifying the base physical address and | ||
73 | size of the VGIC registers. The first additional region is the GIC | ||
74 | virtual interface control register base and size. The 2nd additional | ||
75 | region is the GIC virtual cpu interface register base and size. | ||
76 | |||
77 | - interrupts : VGIC maintainance interrupt. | ||
78 | |||
79 | Example: | ||
80 | |||
81 | interrupt-controller@2c001000 { | ||
82 | compatible = "arm,cortex-a15-gic"; | ||
83 | #interrupt-cells = <3>; | ||
84 | interrupt-controller; | ||
85 | reg = <0x2c001000 0x1000>, | ||
86 | <0x2c002000 0x1000>, | ||
87 | <0x2c004000 0x2000>, | ||
88 | <0x2c006000 0x2000>; | ||
89 | interrupts = <1 9 0xf04>; | ||
90 | }; | ||