xref: /freebsd/sys/contrib/device-tree/Bindings/arm/rockchip/pmu.yaml (revision b197d4b893974c9eb4d7b38704c6d5c486235d6f)
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,rk3368-pmu
26          - rockchip,rk3399-pmu
27          - rockchip,rk3568-pmu
28
29  required:
30    - compatible
31
32properties:
33  compatible:
34    items:
35      - enum:
36          - rockchip,px30-pmu
37          - rockchip,rk3066-pmu
38          - rockchip,rk3288-pmu
39          - rockchip,rk3368-pmu
40          - rockchip,rk3399-pmu
41          - rockchip,rk3568-pmu
42      - const: syscon
43      - const: simple-mfd
44
45  reg:
46    maxItems: 1
47
48required:
49  - compatible
50  - reg
51
52additionalProperties: true
53
54examples:
55  - |
56    pmu@20004000 {
57      compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd";
58      reg = <0x20004000 0x100>;
59    };
60