xref: /freebsd/sys/contrib/device-tree/Bindings/firmware/amlogic,meson-gxbb-sm.yaml (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/firmware/amlogic,meson-gxbb-sm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic Secure Monitor (SM)
8
9description:
10  In the Amlogic SoCs the Secure Monitor code is used to provide access to the
11  NVMEM, enable JTAG, set USB boot, etc...
12
13maintainers:
14  - Neil Armstrong <neil.armstrong@linaro.org>
15
16properties:
17  compatible:
18    oneOf:
19      - const: amlogic,meson-gxbb-sm
20      - items:
21          - const: amlogic,meson-gx-sm
22          - const: amlogic,meson-gxbb-sm
23
24  power-controller:
25    type: object
26    $ref: /schemas/power/amlogic,meson-sec-pwrc.yaml#
27
28required:
29  - compatible
30
31additionalProperties: false
32
33examples:
34  - |
35    firmware {
36        secure-monitor {
37            compatible = "amlogic,meson-gxbb-sm";
38        };
39    };
40