summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/starfive,jh7110-pmu.yaml
blob: 98eb8b4110e7664e1c038d8db09938b2f6afc8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/starfive,jh7110-pmu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: StarFive JH7110 Power Management Unit

maintainers:
  - Walker Chen <walker.chen@starfivetech.com>

description: |
  StarFive JH7110 SoC includes support for multiple power domains which can be
  powered on/off by software based on different application scenes to save power.

properties:
  compatible:
    enum:
      - starfive,jh7110-pmu

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  "#power-domain-cells":
    const: 1

required:
  - compatible
  - reg
  - interrupts
  - "#power-domain-cells"

additionalProperties: false

examples:
  - |
    pwrc: power-controller@17030000 {
        compatible = "starfive,jh7110-pmu";
        reg = <0x17030000 0x10000>;
        interrupts = <111>;
        #power-domain-cells = <1>;
    };