0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: Amlogic Meson AO ARC Remote Processor bindings
0008
0009 description:
0010 Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core
0011 controller for always-on operations, typically used for managing
0012 system suspend. Meson6 and older use a ARC core based on the ARCv1
0013 ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA)
0014 core.
0015
0016 maintainers:
0017 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
0018
0019 properties:
0020 compatible:
0021 items:
0022 - enum:
0023 - amlogic,meson8-ao-arc
0024 - amlogic,meson8b-ao-arc
0025 - const: amlogic,meson-mx-ao-arc
0026
0027 firmware-name:
0028 $ref: /schemas/types.yaml#/definitions/string
0029 description:
0030 The name of the firmware which should be loaded for this remote
0031 processor.
0032
0033 reg:
0034 description:
0035 Address ranges of the remap and CPU control addresses for the
0036 remote processor.
0037 minItems: 2
0038
0039 reg-names:
0040 items:
0041 - const: remap
0042 - const: cpu
0043
0044 resets:
0045 minItems: 1
0046
0047 clocks:
0048 minItems: 1
0049
0050 sram:
0051 $ref: /schemas/types.yaml#/definitions/phandle
0052 description:
0053 phandles to a reserved SRAM region which is used as the memory of
0054 the ARC core. The region should be defined as child nodes of the
0055 AHB SRAM node as per the generic bindings in
0056 Documentation/devicetree/bindings/sram/sram.yaml
0057
0058 amlogic,secbus2:
0059 $ref: /schemas/types.yaml#/definitions/phandle
0060 description:
0061 A phandle to the SECBUS2 region which contains some configuration
0062 bits of this remote processor
0063
0064 required:
0065 - compatible
0066 - reg
0067 - reg-names
0068 - resets
0069 - clocks
0070 - sram
0071 - amlogic,secbus2
0072
0073 additionalProperties: false
0074
0075 examples:
0076 - |
0077 remoteproc@1c {
0078 compatible= "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc";
0079 reg = <0x1c 0x8>, <0x38 0x8>;
0080 reg-names = "remap", "cpu";
0081 resets = <&media_cpu_reset>;
0082 clocks = <&media_cpu_clock>;
0083 sram = <&ahb_sram_ao_arc>;
0084 amlogic,secbus2 = <&secbus2>;
0085 };
0086
0087 ...