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