xref: /freebsd/sys/contrib/device-tree/Bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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
8title: Amlogic Meson Firmware registers Interface
9
10maintainers:
11  - Neil Armstrong <neil.armstrong@linaro.org>
12
13description: |
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'
18select:
19  properties:
20    compatible:
21      contains:
22        const: amlogic,meson-gx-ao-secure
23  required:
24    - compatible
25
26properties:
27  compatible:
28    items:
29      - const: amlogic,meson-gx-ao-secure
30      - const: syscon
31
32  reg:
33    maxItems: 1
34
35  amlogic,has-chip-id:
36    description: |
37      A firmware register encodes the SoC type, package and revision
38      information on the Meson GX SoCs. If present, the interface gives
39      the current SoC version.
40    type: boolean
41
42required:
43  - compatible
44  - reg
45
46additionalProperties: false
47
48examples:
49  - |
50    ao-secure@140 {
51          compatible = "amlogic,meson-gx-ao-secure", "syscon";
52          reg = <0x140 0x140>;
53          amlogic,has-chip-id;
54    };
55