1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/rockchip/pmu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rockchip Power Management Unit (PMU)
8
9maintainers:
10  - Elaine Zhang <zhangqing@rock-chips.com>
11  - Heiko Stuebner <heiko@sntech.de>
12
13description: |
14  The PMU is used to turn on and off different power domains of the SoCs.
15  This includes the power to the CPU cores.
16
17select:
18  properties:
19    compatible:
20      contains:
21        enum:
22          - rockchip,px30-pmu
23          - rockchip,rk3066-pmu
24          - rockchip,rk3288-pmu
25          - rockchip,rk3399-pmu
26
27  required:
28    - compatible
29
30properties:
31  compatible:
32    items:
33      - enum:
34          - rockchip,px30-pmu
35          - rockchip,rk3066-pmu
36          - rockchip,rk3288-pmu
37          - rockchip,rk3399-pmu
38      - const: syscon
39      - const: simple-mfd
40
41  reg:
42    maxItems: 1
43
44required:
45  - compatible
46  - reg
47
48additionalProperties: true
49
50examples:
51  - |
52    pmu@20004000 {
53      compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd";
54      reg = <0x20004000 0x100>;
55    };
56