GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / power / amlogic,meson-sec-pwrc.yaml
1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 # Copyright (c) 2019 Amlogic, Inc
3 # Author: Jianxin Pan <jianxin.pan@amlogic.com>
4 %YAML 1.2
5 ---
6 $id: http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
8
9 title: Amlogic Meson Secure Power Domains
10
11 maintainers:
12   - Jianxin Pan <jianxin.pan@amlogic.com>
13
14 description: |+
15   Secure Power Domains used in Meson A1/C1/S4 SoCs, and should be the child node
16   of secure-monitor.
17
18 properties:
19   compatible:
20     enum:
21       - amlogic,meson-a1-pwrc
22       - amlogic,meson-s4-pwrc
23
24   "#power-domain-cells":
25     const: 1
26
27 required:
28   - compatible
29   - "#power-domain-cells"
30
31 additionalProperties: false
32
33 examples:
34   - |
35     secure-monitor {
36         compatible = "amlogic,meson-gxbb-sm";
37
38         pwrc: power-controller {
39             compatible = "amlogic,meson-a1-pwrc";
40             #power-domain-cells = <1>;
41         };
42     };