xref: /linux/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml (revision bfb4a6c721517a11b277e8841f8a7a64b1b14b72)
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,rk3128-pmu
25          - rockchip,rk3288-pmu
26          - rockchip,rk3368-pmu
27          - rockchip,rk3399-pmu
28          - rockchip,rk3562-pmu
29          - rockchip,rk3568-pmu
30          - rockchip,rk3576-pmu
31          - rockchip,rk3588-pmu
32          - rockchip,rv1126-pmu
33
34  required:
35    - compatible
36
37properties:
38  compatible:
39    items:
40      - enum:
41          - rockchip,px30-pmu
42          - rockchip,rk3066-pmu
43          - rockchip,rk3128-pmu
44          - rockchip,rk3288-pmu
45          - rockchip,rk3368-pmu
46          - rockchip,rk3399-pmu
47          - rockchip,rk3562-pmu
48          - rockchip,rk3568-pmu
49          - rockchip,rk3576-pmu
50          - rockchip,rk3588-pmu
51          - rockchip,rv1126-pmu
52      - const: syscon
53      - const: simple-mfd
54
55  reg:
56    maxItems: 1
57
58  power-controller:
59    type: object
60
61  reboot-mode:
62    type: object
63
64required:
65  - compatible
66  - reg
67
68additionalProperties: false
69
70examples:
71  - |
72    pmu@20004000 {
73      compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd";
74      reg = <0x20004000 0x100>;
75    };
76