summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml')
-rw-r--r--Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml10
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
index 9b1ffceefe3d..79ffc78b23ea 100644
--- a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
+++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
@@ -29,12 +29,14 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32
description: Offset in the register map for the mode register (in bytes)
+allOf:
+ - $ref: reboot-mode.yaml#
+
patternProperties:
- "^mode-.+":
- $ref: /schemas/types.yaml#/definitions/uint32
- description: Vendor-specific mode value written to the mode register
+ "^mode-.*$":
+ maxItems: 1
-additionalProperties: false
+unevaluatedProperties: false
required:
- compatible