1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Loongson-2 Power Manager controller 8 9maintainers: 10 - Yinbo Zhu <zhuyinbo@loongson.cn> 11 12properties: 13 compatible: 14 items: 15 - enum: 16 - loongson,ls2k0500-pmc 17 - loongson,ls2k1000-pmc 18 - const: syscon 19 20 reg: 21 maxItems: 1 22 23 interrupts: 24 maxItems: 1 25 26 loongson,suspend-address: 27 $ref: /schemas/types.yaml#/definitions/uint64 28 description: 29 The "loongson,suspend-address" is a deep sleep state (Suspend To 30 RAM) firmware entry address which was jumped from kernel and it's 31 value was dependent on specific platform firmware code. In 32 addition, the PM need according to it to indicate that current 33 SoC whether support Suspend To RAM. 34 35required: 36 - compatible 37 - reg 38 - interrupts 39 40additionalProperties: false 41 42examples: 43 - | 44 #include <dt-bindings/interrupt-controller/irq.h> 45 46 power-management@1fe27000 { 47 compatible = "loongson,ls2k1000-pmc", "syscon"; 48 reg = <0x1fe27000 0x58>; 49 interrupt-parent = <&liointc1>; 50 interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 51 loongson,suspend-address = <0x0 0x1c000500>; 52 }; 53