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