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