dt-bindings: interrupt-controller: arm,gic: Fix schema errors in example
authorRob Herring <robh@kernel.org>
Tue, 21 May 2019 18:09:26 +0000 (13:09 -0500)
committerRob Herring <robh@kernel.org>
Wed, 22 May 2019 14:06:11 +0000 (09:06 -0500)
commit8d665693c28c88d38e4b7e015d3135c1875c89f6
tree0e0935a9f107ac9074bb3e6dfaea1c7491114d16
parent31910f4476ce8b231164e7c0c17a87a8654bb5f2
dt-bindings: interrupt-controller: arm,gic: Fix schema errors in example

Validating the examples against the schema have a few errors:

arm,gic.example.dt.yaml: 'ranges' does not match any of the regexes: '^v2m@[0-9a-f]+$', 'pinctrl-[0-9]+'
arm,gic.example.dt.yaml: #address-cells:0:0: 2 is not one of [0, 1]
arm,gic.example.dt.yaml: #size-cells:0:0: 1 was expected

'ranges' is valid, but missing from the schema, so add it. The reg
addresses and sizes don't match the schema requirements and the example
template. We could just override the example template to use 64-bit
addresses, but there's not really any value showing that in the example.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml