1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 Power Manager controller
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
16 - const: loongson,ls2k0500-pmc
20 - loongson,ls2k1000-pmc
21 - loongson,ls2k2000-pmc
22 - const: loongson,ls2k0500-pmc
31 loongson,suspend-address:
32 $ref: /schemas/types.yaml#/definitions/uint64
34 The "loongson,suspend-address" is a deep sleep state (Suspend To
35 RAM) firmware entry address which was jumped from kernel and it's
36 value was dependent on specific platform firmware code. In
37 addition, the PM need according to it to indicate that current
38 SoC whether support Suspend To RAM.
41 $ref: /schemas/power/reset/syscon-poweroff.yaml#
44 Node for power off method
47 $ref: /schemas/power/reset/syscon-reboot.yaml#
50 Node for reboot method
57 additionalProperties: false
61 #include <dt-bindings/interrupt-controller/irq.h>
63 power-management@1fe27000 {
64 compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
65 reg = <0x1fe27000 0x58>;
66 interrupt-parent = <&liointc1>;
67 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
68 loongson,suspend-address = <0x0 0x1c000500>;
71 compatible = "syscon-reboot";
77 compatible = "syscon-poweroff";