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