xref: /openbmc/linux/Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1f50ffbc5SNeil Armstrong# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2f50ffbc5SNeil Armstrong# Copyright 2019 BayLibre, SAS
3f50ffbc5SNeil Armstrong%YAML 1.2
4f50ffbc5SNeil Armstrong---
5*1b61fdfdSRob Herring$id: http://devicetree.org/schemas/arm/amlogic/amlogic,meson-gx-ao-secure.yaml#
6*1b61fdfdSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
7f50ffbc5SNeil Armstrong
8f50ffbc5SNeil Armstrongtitle: Amlogic Meson Firmware registers Interface
9f50ffbc5SNeil Armstrong
10f50ffbc5SNeil Armstrongmaintainers:
11c6a43fb3SNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
12f50ffbc5SNeil Armstrong
13f50ffbc5SNeil Armstrongdescription: |
14f50ffbc5SNeil Armstrong  The Meson SoCs have a register bank with status and data shared with the
15f50ffbc5SNeil Armstrong  secure firmware.
16f50ffbc5SNeil Armstrong
17f50ffbc5SNeil Armstrong# We need a select here so we don't match all nodes with 'syscon'
18f50ffbc5SNeil Armstrongselect:
19f50ffbc5SNeil Armstrong  properties:
20f50ffbc5SNeil Armstrong    compatible:
21f50ffbc5SNeil Armstrong      contains:
22f50ffbc5SNeil Armstrong        const: amlogic,meson-gx-ao-secure
23f50ffbc5SNeil Armstrong  required:
24f50ffbc5SNeil Armstrong    - compatible
25f50ffbc5SNeil Armstrong
26f50ffbc5SNeil Armstrongproperties:
27f50ffbc5SNeil Armstrong  compatible:
28f50ffbc5SNeil Armstrong    items:
29f50ffbc5SNeil Armstrong      - const: amlogic,meson-gx-ao-secure
30f50ffbc5SNeil Armstrong      - const: syscon
31f50ffbc5SNeil Armstrong
32f50ffbc5SNeil Armstrong  reg:
33f50ffbc5SNeil Armstrong    maxItems: 1
34f50ffbc5SNeil Armstrong
35f50ffbc5SNeil Armstrong  amlogic,has-chip-id:
36f50ffbc5SNeil Armstrong    description: |
37f50ffbc5SNeil Armstrong      A firmware register encodes the SoC type, package and revision
38f50ffbc5SNeil Armstrong      information on the Meson GX SoCs. If present, the interface gives
39f50ffbc5SNeil Armstrong      the current SoC version.
40f50ffbc5SNeil Armstrong    type: boolean
41f50ffbc5SNeil Armstrong
42f50ffbc5SNeil Armstrongrequired:
43f50ffbc5SNeil Armstrong  - compatible
44f50ffbc5SNeil Armstrong  - reg
45f50ffbc5SNeil Armstrong
467f464532SRob HerringadditionalProperties: false
477f464532SRob Herring
48f50ffbc5SNeil Armstrongexamples:
49f50ffbc5SNeil Armstrong  - |
50f50ffbc5SNeil Armstrong    ao-secure@140 {
51f50ffbc5SNeil Armstrong          compatible = "amlogic,meson-gx-ao-secure", "syscon";
52f50ffbc5SNeil Armstrong          reg = <0x140 0x140>;
53f50ffbc5SNeil Armstrong          amlogic,has-chip-id;
54f50ffbc5SNeil Armstrong    };
55