xref: /linux/Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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---
693215d9fSKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#
793215d9fSKrzysztof 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: |+
1554f1618bSxianwei.zhao  Secure Power Domains used in Meson A1/C1/S4 & C3/T7 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
235bbe5872SXianwei Zhao      - amlogic,a4-pwrc
24*32625ac9SXianwei Zhao      - amlogic,a5-pwrc
2583b03d62SXianwei Zhao      - amlogic,c3-pwrc
2654f1618bSxianwei.zhao      - amlogic,t7-pwrc
27165b5fb2SJianxin Pan
28165b5fb2SJianxin Pan  "#power-domain-cells":
29165b5fb2SJianxin Pan    const: 1
30165b5fb2SJianxin Pan
31165b5fb2SJianxin Panrequired:
32165b5fb2SJianxin Pan  - compatible
33165b5fb2SJianxin Pan  - "#power-domain-cells"
34165b5fb2SJianxin Pan
355be478f9SRob HerringadditionalProperties: false
365be478f9SRob Herring
37165b5fb2SJianxin Panexamples:
38165b5fb2SJianxin Pan  - |
39165b5fb2SJianxin Pan    secure-monitor {
40165b5fb2SJianxin Pan        compatible = "amlogic,meson-gxbb-sm";
41165b5fb2SJianxin Pan
42165b5fb2SJianxin Pan        pwrc: power-controller {
43165b5fb2SJianxin Pan            compatible = "amlogic,meson-a1-pwrc";
44165b5fb2SJianxin Pan            #power-domain-cells = <1>;
45165b5fb2SJianxin Pan        };
46d85eed03SJianxin Pan    };
47