dt-bindings: vexpress-sysreg: Allow for no child nodes
authorRob Herring <robh@kernel.org>
Mon, 13 Jun 2022 17:18:08 +0000 (11:18 -0600)
committerRob Herring <robh@kernel.org>
Fri, 17 Jun 2022 19:14:51 +0000 (13:14 -0600)
commitcfda05c1ddb8b375562b54dc86276cdc42d48297
tree3e98a3321e6a7882d4f568e16f639d9ce1d1efa5
parent67fcaf28772027350e7aa60006b620c1d4b0be6e
dt-bindings: vexpress-sysreg: Allow for no child nodes

It is valid for arm,vexpress-sysreg to have no child nodes when either
the deprecated binding without child nodes is used or a platform
has no GPIOs. If there are no child nodes, then "#address-cells" and
"#size-cells" should not be required. However, "reg" should be present
in all cases, so let's add it now.

Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220613171809.3928949-2-robh@kernel.org
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml