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