summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/raspberrypi,bcm2835-power.yaml
blob: 57579f70264c468f9e5191371181cd7a40bf8b9b (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/raspberrypi,bcm2835-power.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom BCM2835 power domain

maintainers:
  - Alexander Aring <alex.aring@gmail.com>
  - Florian Fainelli <florian.fainelli@broadcom.com>

description:
  The Raspberry Pi power domain manages power for various subsystems
  in the Raspberry Pi BCM2835 SoC.

properties:
  compatible:
    enum:
      - raspberrypi,bcm2835-power

  firmware:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: Reference to the RPi firmware device node

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

required:
  - compatible
  - firmware
  - "#power-domain-cells"

unevaluatedProperties: false

examples:
  - |
    power-controller {
      compatible = "raspberrypi,bcm2835-power";
      firmware = <&firmware>;
      #power-domain-cells = <1>;
    };