1eeaf9700SMartin Blumenstingl# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2eeaf9700SMartin Blumenstingl%YAML 1.2 3eeaf9700SMartin Blumenstingl--- 4eeaf9700SMartin Blumenstingl$id: "http://devicetree.org/schemas/remoteproc/amlogic,meson-mx-ao-arc.yaml#" 5eeaf9700SMartin Blumenstingl$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6eeaf9700SMartin Blumenstingl 7*84e85359SKrzysztof Kozlowskititle: Amlogic Meson AO ARC Remote Processor 8eeaf9700SMartin Blumenstingl 9eeaf9700SMartin Blumenstingldescription: 10eeaf9700SMartin Blumenstingl Amlogic Meson6, Meson8, Meson8b and Meson8m2 SoCs embed an ARC core 11eeaf9700SMartin Blumenstingl controller for always-on operations, typically used for managing 12eeaf9700SMartin Blumenstingl system suspend. Meson6 and older use a ARC core based on the ARCv1 13eeaf9700SMartin Blumenstingl ISA, while Meson8, Meson8b and Meson8m2 use an ARC EM4 (ARCv2 ISA) 14eeaf9700SMartin Blumenstingl core. 15eeaf9700SMartin Blumenstingl 16eeaf9700SMartin Blumenstinglmaintainers: 17eeaf9700SMartin Blumenstingl - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 18eeaf9700SMartin Blumenstingl 19eeaf9700SMartin Blumenstinglproperties: 20eeaf9700SMartin Blumenstingl compatible: 21eeaf9700SMartin Blumenstingl items: 22eeaf9700SMartin Blumenstingl - enum: 23eeaf9700SMartin Blumenstingl - amlogic,meson8-ao-arc 24eeaf9700SMartin Blumenstingl - amlogic,meson8b-ao-arc 25eeaf9700SMartin Blumenstingl - const: amlogic,meson-mx-ao-arc 26eeaf9700SMartin Blumenstingl 27eeaf9700SMartin Blumenstingl firmware-name: 28eeaf9700SMartin Blumenstingl $ref: /schemas/types.yaml#/definitions/string 29eeaf9700SMartin Blumenstingl description: 30eeaf9700SMartin Blumenstingl The name of the firmware which should be loaded for this remote 31eeaf9700SMartin Blumenstingl processor. 32eeaf9700SMartin Blumenstingl 33eeaf9700SMartin Blumenstingl reg: 34eeaf9700SMartin Blumenstingl description: 35eeaf9700SMartin Blumenstingl Address ranges of the remap and CPU control addresses for the 36eeaf9700SMartin Blumenstingl remote processor. 37eeaf9700SMartin Blumenstingl minItems: 2 38eeaf9700SMartin Blumenstingl 39eeaf9700SMartin Blumenstingl reg-names: 40eeaf9700SMartin Blumenstingl items: 41eeaf9700SMartin Blumenstingl - const: remap 42eeaf9700SMartin Blumenstingl - const: cpu 43eeaf9700SMartin Blumenstingl 44eeaf9700SMartin Blumenstingl resets: 45eeaf9700SMartin Blumenstingl minItems: 1 46eeaf9700SMartin Blumenstingl 47eeaf9700SMartin Blumenstingl clocks: 48eeaf9700SMartin Blumenstingl minItems: 1 49eeaf9700SMartin Blumenstingl 50eeaf9700SMartin Blumenstingl sram: 51eeaf9700SMartin Blumenstingl $ref: /schemas/types.yaml#/definitions/phandle 52eeaf9700SMartin Blumenstingl description: 53eeaf9700SMartin Blumenstingl phandles to a reserved SRAM region which is used as the memory of 54eeaf9700SMartin Blumenstingl the ARC core. The region should be defined as child nodes of the 55eeaf9700SMartin Blumenstingl AHB SRAM node as per the generic bindings in 56eeaf9700SMartin Blumenstingl Documentation/devicetree/bindings/sram/sram.yaml 57eeaf9700SMartin Blumenstingl 58eeaf9700SMartin Blumenstingl amlogic,secbus2: 59eeaf9700SMartin Blumenstingl $ref: /schemas/types.yaml#/definitions/phandle 60eeaf9700SMartin Blumenstingl description: 61eeaf9700SMartin Blumenstingl A phandle to the SECBUS2 region which contains some configuration 62eeaf9700SMartin Blumenstingl bits of this remote processor 63eeaf9700SMartin Blumenstingl 64eeaf9700SMartin Blumenstinglrequired: 65eeaf9700SMartin Blumenstingl - compatible 66eeaf9700SMartin Blumenstingl - reg 67eeaf9700SMartin Blumenstingl - reg-names 68eeaf9700SMartin Blumenstingl - resets 69eeaf9700SMartin Blumenstingl - clocks 70eeaf9700SMartin Blumenstingl - sram 71eeaf9700SMartin Blumenstingl - amlogic,secbus2 72eeaf9700SMartin Blumenstingl 73eeaf9700SMartin BlumenstingladditionalProperties: false 74eeaf9700SMartin Blumenstingl 75eeaf9700SMartin Blumenstinglexamples: 76eeaf9700SMartin Blumenstingl - | 77eeaf9700SMartin Blumenstingl remoteproc@1c { 78eeaf9700SMartin Blumenstingl compatible= "amlogic,meson8-ao-arc", "amlogic,meson-mx-ao-arc"; 79eeaf9700SMartin Blumenstingl reg = <0x1c 0x8>, <0x38 0x8>; 80eeaf9700SMartin Blumenstingl reg-names = "remap", "cpu"; 81eeaf9700SMartin Blumenstingl resets = <&media_cpu_reset>; 82eeaf9700SMartin Blumenstingl clocks = <&media_cpu_clock>; 83eeaf9700SMartin Blumenstingl sram = <&ahb_sram_ao_arc>; 84eeaf9700SMartin Blumenstingl amlogic,secbus2 = <&secbus2>; 85eeaf9700SMartin Blumenstingl }; 86eeaf9700SMartin Blumenstingl 87eeaf9700SMartin Blumenstingl... 88