xref: /linux/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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/S4 & C3/T7 SoCs, and should be the child node
16  of secure-monitor.
17
18properties:
19  compatible:
20    enum:
21      - amlogic,meson-a1-pwrc
22      - amlogic,meson-s4-pwrc
23      - amlogic,a4-pwrc
24      - amlogic,a5-pwrc
25      - amlogic,c3-pwrc
26      - amlogic,t7-pwrc
27
28  "#power-domain-cells":
29    const: 1
30
31required:
32  - compatible
33  - "#power-domain-cells"
34
35additionalProperties: false
36
37examples:
38  - |
39    secure-monitor {
40        compatible = "amlogic,meson-gxbb-sm";
41
42        pwrc: power-controller {
43            compatible = "amlogic,meson-a1-pwrc";
44            #power-domain-cells = <1>;
45        };
46    };
47