| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2025 BayLibre |
| 3 |
%YAML 1.2 |
| 4 |
--- |
| 5 |
$id: http://devicetree.org/schemas/system-idle-states.yaml# |
| 6 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 |
|
| 8 |
title: System Idle States |
| 9 |
|
| 10 |
maintainers: |
| 11 |
- Markus Schneider-Pargmann <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
A system idle state node represents a system state that can have certain |
| 15 |
limitations and power properties. |
| 16 |
|
| 17 |
properties: |
| 18 |
$nodename: |
| 19 |
const: system-idle-states |
| 20 |
|
| 21 |
patternProperties: |
| 22 |
"^system-[a-z0-9-]+$": |
| 23 |
type: object |
| 24 |
additionalProperties: false |
| 25 |
description: |
| 26 |
The node represents a system state description. |
| 27 |
|
| 28 |
properties: |
| 29 |
compatible: |
| 30 |
const: system-idle-state |
| 31 |
|
| 32 |
idle-state-name: |
| 33 |
$ref: /schemas/types.yaml#/definitions/string |
| 34 |
description: | |
| 35 |
Name of the system state. These are the available states: |
| 36 |
- standby: Light suspend, peripherals may remain active |
| 37 |
- mem-mcu-active: DDR in self-refresh, MCU/coprocessor running, |
| 38 |
main cores off |
| 39 |
- mem: DDR in self-refresh, all cores off |
| 40 |
- mem-deep: DDR in self-refresh, all other hardware off except |
| 41 |
some wake logic |
| 42 |
- off-wake: System powered off, wake-up logic remains active |
| 43 |
- off: Complete power off, lowest possible power state |
| 44 |
enum: |
| 45 |
- standby |
| 46 |
- mem-mcu-active |
| 47 |
- mem |
| 48 |
- mem-deep |
| 49 |
- off-wake |
| 50 |
- off |
| 51 |
|
| 52 |
required: |
| 53 |
- compatible |
| 54 |
- idle-state-name |
| 55 |
|
| 56 |
additionalProperties: false |
| 57 |
|
| 58 |
examples: |
| 59 |
- | |
| 60 |
system-idle-states { |
| 61 |
system-suspend { |
| 62 |
compatible = "system-idle-state"; |
| 63 |
idle-state-name = "mem"; |
| 64 |
}; |
| 65 |
|
| 66 |
system-off { |
| 67 |
compatible = "system-idle-state"; |
| 68 |
idle-state-name = "off"; |
| 69 |
}; |
| 70 |
}; |