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