31 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/power/reset/restart-handler.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Restart and shutdown handler Common Properties8 9maintainers:10 - Sebastian Reichel <sre@kernel.org>11 12description:13 Restart and shutdown handler device is responsible for powering off the14 system, e.g. my cutting off the power. System might have several restart15 handlers, which usually are tried from most precise to last resort.16 17properties:18 priority:19 $ref: /schemas/types.yaml#/definitions/uint3220 description: |21 A priority ranging from 0 to 255 according to the following guidelines::22 0:: Restart handler of last resort, with limited restart capabilities.23 128:: Typical, default restart handler; use if no other restart handler24 is expected to be available, and/or if restart functionality is25 sufficient to restart the entire system.26 255:: Highest priority restart handler, will preempt all other restart handlers.27 minimum: 028 maximum: 25529 30additionalProperties: true31