dt-bindings: arm,gic: Fix binding example for a virt-capable GIC
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 18 Jan 2017 09:13:20 +0000 (09:13 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 7 Feb 2017 14:06:45 +0000 (15:06 +0100)
The joys of copy/paste: the example of a virtualization capable GIC
in the DT binding was wrong, and propagated to dozens of platforms.
By having a GICC region that is only 4kB (instead of 8kB), we
end-up not being able to access the GICC_DIR register which is on
the second page.

Oh well. Let's fix the source of the crap before tackling individual
offenders.

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt

index 5393e2a45a4241047cb237c39957d65f7ee0848f..560d8a727b8f84e951b227d8fcc838579ddc94b1 100644 (file)
@@ -111,7 +111,7 @@ Example:
                #interrupt-cells = <3>;
                interrupt-controller;
                reg = <0x2c001000 0x1000>,
-                     <0x2c002000 0x1000>,
+                     <0x2c002000 0x2000>,
                      <0x2c004000 0x2000>,
                      <0x2c006000 0x2000>;
                interrupts = <1 9 0xf04>;