1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Renesas R-Car remote processor controller bindings
8
9maintainers:
10  - Julien Massot <julien.massot@iot.bzh>
11
12description: |
13  This document defines the bindings for the remoteproc component that loads and
14  boots firmwares on the Renesas R-Car family chipset.
15  R-Car gen3 family may have a realtime processor, this processor shares peripheral
16  and RAM with the host processor with the same address map.
17
18properties:
19  compatible:
20    const: renesas,rcar-cr7
21
22  resets:
23    maxItems: 1
24
25  power-domains:
26    maxItems: 1
27
28  memory-region:
29    description:
30      List of phandles to the reserved memory regions associated with the
31      remoteproc device. This is variable and describes the memories shared with
32      the remote processor (e.g. remoteproc firmware and carveouts, rpmsg
33      vrings, ...).
34      (see ../reserved-memory/reserved-memory.yaml)
35
36required:
37  - compatible
38  - resets
39  - memory-region
40  - power-domains
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
47    #include <dt-bindings/power/r8a7795-sysc.h>
48    reserved-memory {
49        #address-cells = <2>;
50        #size-cells = <2>;
51
52        cr7_ram: cr7_ram@40040000 {
53            no-map;
54            reg = <0x0 0x40040000 0x0 0x1fc0000>;
55        };
56    };
57
58    cr7_rproc: cr7 {
59        compatible = "renesas,rcar-cr7";
60        memory-region = <&cr7_ram>;
61        power-domains = <&sysc R8A7795_PD_CR7>;
62        resets = <&cpg 222>;
63    };
64
65...
66