Commit cfda05c1 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220613171809.3928949-2-robh@kernel.org
parent 67fcaf28
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -74,8 +74,7 @@ patternProperties:

required:
  - compatible
  - "#address-cells"
  - "#size-cells"
  - reg

examples:
  - |