| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
# Copyright 2019 BayLibre, SAS |
| 3 |
%YAML 1.2 |
| 4 |
--- |
| 5 |
$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml# |
| 6 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 |
|
| 8 |
title: Amlogic Meson Firmware registers Interface |
| 9 |
|
| 10 |
maintainers: |
| 11 |
- Neil Armstrong <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 14 |
The Meson SoCs have a register bank with status and data shared with the |
| 15 |
secure firmware. |
| 16 |
|
| 17 |
# We need a select here so we don't match all nodes with 'syscon' |
| 18 |
select: |
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
contains: |
| 22 |
const: amlogic,meson-gx-ao-secure |
| 23 |
required: |
| 24 |
- compatible |
| 25 |
|
| 26 |
properties: |
| 27 |
compatible: |
| 28 |
oneOf: |
| 29 |
- items: |
| 30 |
- const: amlogic,meson-gx-ao-secure |
| 31 |
- const: syscon |
| 32 |
- items: |
| 33 |
- enum: |
| 34 |
- amlogic,a4-ao-secure |
| 35 |
- amlogic,c3-ao-secure |
| 36 |
- amlogic,s4-ao-secure |
| 37 |
- amlogic,s6-ao-secure |
| 38 |
- amlogic,s7-ao-secure |
| 39 |
- amlogic,s7d-ao-secure |
| 40 |
- amlogic,t7-ao-secure |
| 41 |
- const: amlogic,meson-gx-ao-secure |
| 42 |
- const: syscon |
| 43 |
reg: |
| 44 |
maxItems: 1 |
| 45 |
|
| 46 |
amlogic,has-chip-id: |
| 47 |
description: | |
| 48 |
A firmware register encodes the SoC type, package and revision |
| 49 |
information on the Meson GX SoCs. If present, the interface gives |
| 50 |
the current SoC version. |
| 51 |
type: boolean |
| 52 |
|
| 53 |
required: |
| 54 |
- compatible |
| 55 |
- reg |
| 56 |
|
| 57 |
additionalProperties: false |
| 58 |
|
| 59 |
examples: |
| 60 |
- | |
| 61 |
ao-secure@140 { |
| 62 |
compatible = "amlogic,meson-gx-ao-secure", "syscon"; |
| 63 |
reg = <0x140 0x140>; |
| 64 |
amlogic,has-chip-id; |
| 65 |
}; |