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
9title: Amlogic Meson Secure Power Domains
10
11maintainers:
12  - Jianxin Pan <jianxin.pan@amlogic.com>
13
14description: |+
15  Secure Power Domains used in Meson A1/C1 SoCs, and should be the child node
16  of secure-monitor.
17
18properties:
19  compatible:
20    enum:
21      - amlogic,meson-a1-pwrc
22
23  "#power-domain-cells":
24    const: 1
25
26required:
27  - compatible
28  - "#power-domain-cells"
29
30additionalProperties: false
31
32examples:
33  - |
34    secure-monitor {
35        compatible = "amlogic,meson-gxbb-sm";
36
37        pwrc: power-controller {
38            compatible = "amlogic,meson-a1-pwrc";
39            #power-domain-cells = <1>;
40        };
41    };
42
43