1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/power/reset/syscon-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic SYSCON mapped register poweroff driver
10 - Sebastian Reichel <sre@kernel.org>
13 This is a generic poweroff driver using syscon to map the poweroff register.
14 The poweroff is generally performed with a write to the poweroff register
15 defined by the register map pointed by syscon reference plus the offset
16 with the value and mask defined in the poweroff node.
17 Default will be little endian mode, 32 bit access only.
21 const: syscon-poweroff
24 $ref: /schemas/types.yaml#/definitions/uint32
25 description: Update only the register bits defined by the mask (32 bit).
28 $ref: /schemas/types.yaml#/definitions/uint32
29 description: Offset in the register map for the poweroff register (in bytes).
32 $ref: /schemas/types.yaml#/definitions/phandle
33 description: Phandle to the register map node.
36 $ref: /schemas/types.yaml#/definitions/uint32
37 description: The poweroff value written to the poweroff register (32 bit access).
44 additionalProperties: false
58 compatible = "syscon-poweroff";
59 regmap = <®mapnode>;