From: Rafał Miłecki <rafal@xxxxxxxxxx> Reboot node should be a child of mfd/syscon node and should use "reg" property to specify regmap offset. Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx> --- .../bindings/power/reset/syscon-reboot.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml index ebae55683d39..ddcf6e5dcdfa 100644 --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml @@ -31,6 +31,10 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 description: Offset in the register map for the reboot register (in bytes). + reg: + maxItems: 1 + description: Offset in the register map and size (must be 4 B) + regmap: $ref: /schemas/types.yaml#/definitions/phandle deprecated: true @@ -42,12 +46,14 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 description: The reset value written to the reboot register (32 bit access). -required: - - compatible - - offset - additionalProperties: false +anyOf: + - required: + - reg + - required: + - offset + allOf: - if: not: -- 2.31.1