xref: /linux/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml (revision 93215d9f46015099b932b6d463242540e841f696)
1165b5fb2SJianxin Pan# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2165b5fb2SJianxin Pan# Copyright (c) 2019 Amlogic, Inc
3165b5fb2SJianxin Pan# Author: Jianxin Pan <jianxin.pan@amlogic.com>
4165b5fb2SJianxin Pan%YAML 1.2
5165b5fb2SJianxin Pan---
6*93215d9fSKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#
7*93215d9fSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
8165b5fb2SJianxin Pan
9165b5fb2SJianxin Pantitle: Amlogic Meson Secure Power Domains
10165b5fb2SJianxin Pan
11165b5fb2SJianxin Panmaintainers:
12165b5fb2SJianxin Pan  - Jianxin Pan <jianxin.pan@amlogic.com>
13165b5fb2SJianxin Pan
14165b5fb2SJianxin Pandescription: |+
1540b358f6SShunzhou Jiang  Secure Power Domains used in Meson A1/C1/S4 SoCs, and should be the child node
16165b5fb2SJianxin Pan  of secure-monitor.
17165b5fb2SJianxin Pan
18165b5fb2SJianxin Panproperties:
19165b5fb2SJianxin Pan  compatible:
20165b5fb2SJianxin Pan    enum:
21165b5fb2SJianxin Pan      - amlogic,meson-a1-pwrc
2240b358f6SShunzhou Jiang      - amlogic,meson-s4-pwrc
23165b5fb2SJianxin Pan
24165b5fb2SJianxin Pan  "#power-domain-cells":
25165b5fb2SJianxin Pan    const: 1
26165b5fb2SJianxin Pan
27165b5fb2SJianxin Panrequired:
28165b5fb2SJianxin Pan  - compatible
29165b5fb2SJianxin Pan  - "#power-domain-cells"
30165b5fb2SJianxin Pan
315be478f9SRob HerringadditionalProperties: false
325be478f9SRob Herring
33165b5fb2SJianxin Panexamples:
34165b5fb2SJianxin Pan  - |
35165b5fb2SJianxin Pan    secure-monitor {
36165b5fb2SJianxin Pan        compatible = "amlogic,meson-gxbb-sm";
37165b5fb2SJianxin Pan
38165b5fb2SJianxin Pan        pwrc: power-controller {
39165b5fb2SJianxin Pan            compatible = "amlogic,meson-a1-pwrc";
40165b5fb2SJianxin Pan            #power-domain-cells = <1>;
41165b5fb2SJianxin Pan        };
42d85eed03SJianxin Pan    };
43