docs: sphinx-requirements: Move sphinx_rtd_theme to top
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / power / brcm,bcm-pmb.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/brcm,bcm-pmb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom PMB (Power Management Bus) controller
8
9 description: This document describes Broadcom's PMB controller. It supports
10   powering various types of connected devices (e.g. PCIe, USB, SATA).
11
12 maintainers:
13   - Rafał Miłecki <rafal@milecki.pl>
14
15 properties:
16   compatible:
17     enum:
18       - brcm,bcm4908-pmb
19       - brcm,bcm63138-pmb
20
21   reg:
22     description: register space of one or more buses
23     maxItems: 1
24
25   big-endian:
26     $ref: /schemas/types.yaml#/definitions/flag
27     description: Flag to use for block working in big endian mode.
28
29   "#power-domain-cells":
30     description: cell specifies device ID (see bcm-pmb.h)
31     const: 1
32
33 required:
34   - reg
35   - "#power-domain-cells"
36
37 additionalProperties: false
38
39 examples:
40   - |
41     #include <dt-bindings/soc/bcm-pmb.h>
42
43     pmb: power-controller@802800e0 {
44         compatible = "brcm,bcm4908-pmb";
45         reg = <0x802800e0 0x40>;
46         #power-domain-cells = <1>;
47     };
48
49     foo {
50         power-domains = <&pmb BCM_PMB_PCIE0>;
51     };