aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/arm/gic.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt
index c7d2fa156678..375147e5a5fb 100644
--- a/Documentation/devicetree/bindings/arm/gic.txt
+++ b/Documentation/devicetree/bindings/arm/gic.txt
@@ -96,3 +96,56 @@ Example:
96 <0x2c006000 0x2000>; 96 <0x2c006000 0x2000>;
97 interrupts = <1 9 0xf04>; 97 interrupts = <1 9 0xf04>;
98 }; 98 };
99
100
101* GICv2m extension for MSI/MSI-x support (Optional)
102
103Certain revisions of GIC-400 supports MSI/MSI-x via V2M register frame(s).
104This is enabled by specifying v2m sub-node(s).
105
106Required properties:
107
108- compatible : The value here should contain "arm,gic-v2m-frame".
109
110- msi-controller : Identifies the node as an MSI controller.
111
112- reg : GICv2m MSI interface register base and size
113
114Optional properties:
115
116- arm,msi-base-spi : When the MSI_TYPER register contains an incorrect
117 value, this property should contain the SPI base of
118 the MSI frame, overriding the HW value.
119
120- arm,msi-num-spis : When the MSI_TYPER register contains an incorrect
121 value, this property should contain the number of
122 SPIs assigned to the frame, overriding the HW value.
123
124Example:
125
126 interrupt-controller@e1101000 {
127 compatible = "arm,gic-400";
128 #interrupt-cells = <3>;
129 #address-cells = <2>;
130 #size-cells = <2>;
131 interrupt-controller;
132 interrupts = <1 8 0xf04>;
133 ranges = <0 0 0 0xe1100000 0 0x100000>;
134 reg = <0x0 0xe1110000 0 0x01000>,
135 <0x0 0xe112f000 0 0x02000>,
136 <0x0 0xe1140000 0 0x10000>,
137 <0x0 0xe1160000 0 0x10000>;
138 v2m0: v2m@0x8000 {
139 compatible = "arm,gic-v2m-frame";
140 msi-controller;
141 reg = <0x0 0x80000 0 0x1000>;
142 };
143
144 ....
145
146 v2mN: v2m@0x9000 {
147 compatible = "arm,gic-v2m-frame";
148 msi-controller;
149 reg = <0x0 0x90000 0 0x1000>;
150 };
151 };