| 1 |
# SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
# Copyright (c) 2019 Amlogic, Inc |
| 3 |
# Author: Jianxin Pan <[email protected]> |
| 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 <[email protected]> |
| 13 |
|
| 14 |
description: |+ |
| 15 |
Secure Power Domains used in Meson A1/C1/S4 & C3/T7 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 |
- amlogic,a4-pwrc |
| 24 |
- amlogic,a5-pwrc |
| 25 |
- amlogic,c3-pwrc |
| 26 |
- amlogic,t7-pwrc |
| 27 |
- amlogic,s6-pwrc |
| 28 |
- amlogic,s7-pwrc |
| 29 |
- amlogic,s7d-pwrc |
| 30 |
|
| 31 |
"#power-domain-cells": |
| 32 |
const: 1 |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- "#power-domain-cells" |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
secure-monitor { |
| 43 |
compatible = "amlogic,meson-gxbb-sm"; |
| 44 |
|
| 45 |
pwrc: power-controller { |
| 46 |
compatible = "amlogic,meson-a1-pwrc"; |
| 47 |
#power-domain-cells = <1>; |
| 48 |
}; |
| 49 |
}; |