dt-bindings: interrupt-controller: arm,gic-v3: Fix 'interrupts' cell size in example
authorRob Herring <robh@kernel.org>
Thu, 6 Jan 2022 18:25:13 +0000 (12:25 -0600)
committerRob Herring <robh@kernel.org>
Tue, 11 Jan 2022 17:54:35 +0000 (11:54 -0600)
The 2nd example has an interrupts cells size of 4, but the 'interrupts'
property has 3 cells. The example should also be separate since the cell
size differs in each example.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220106182518.1435497-5-robh@kernel.org
Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml

index c84f9fe..cfb3ec2 100644 (file)
@@ -239,6 +239,7 @@ examples:
       };
     };
 
+  - |
     interrupt-controller@2c010000 {
       compatible = "arm,gic-v3";
       #interrupt-cells = <4>;
@@ -254,7 +255,7 @@ examples:
             <0x2c040000 0x2000>,  // GICC
             <0x2c060000 0x2000>,  // GICH
             <0x2c080000 0x2000>;  // GICV
-      interrupts = <1 9 4>;
+      interrupts = <1 9 4 0>;
 
       msi-controller@2c200000 {
         compatible = "arm,gic-v3-its";