Skip to content

Commit d3c76a4

Browse files
Julien Massotmathieupoirier
authored andcommitted
dt-bindings: remoteproc: Add Renesas R-Car
Renesas R-Car SoCs may contain a Realtime processor. This patch adds bindings for this remote processor. Signed-off-by: Julien Massot <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent e9c7831 commit d3c76a4

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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+
7+
title: Renesas R-Car remote processor controller bindings
8+
9+
maintainers:
10+
- Julien Massot <[email protected]>
11+
12+
description: |
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+
18+
properties:
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+
36+
required:
37+
- compatible
38+
- resets
39+
- memory-region
40+
- power-domains
41+
42+
additionalProperties: false
43+
44+
examples:
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+
...

0 commit comments

Comments
 (0)