Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/remoteproc/renesas,rcar-rproc.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006 
0007 title: Renesas R-Car remote processor controller bindings
0008 
0009 maintainers:
0010   - Julien Massot <julien.massot@iot.bzh>
0011 
0012 description: |
0013   This document defines the bindings for the remoteproc component that loads and
0014   boots firmwares on the Renesas R-Car family chipset.
0015   R-Car gen3 family may have a realtime processor, this processor shares peripheral
0016   and RAM with the host processor with the same address map.
0017 
0018 properties:
0019   compatible:
0020     const: renesas,rcar-cr7
0021 
0022   resets:
0023     maxItems: 1
0024 
0025   power-domains:
0026     maxItems: 1
0027 
0028   memory-region:
0029     description:
0030       List of phandles to the reserved memory regions associated with the
0031       remoteproc device. This is variable and describes the memories shared with
0032       the remote processor (e.g. remoteproc firmware and carveouts, rpmsg
0033       vrings, ...).
0034       (see ../reserved-memory/reserved-memory.yaml)
0035 
0036 required:
0037   - compatible
0038   - resets
0039   - memory-region
0040   - power-domains
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
0047     #include <dt-bindings/power/r8a7795-sysc.h>
0048     reserved-memory {
0049         #address-cells = <2>;
0050         #size-cells = <2>;
0051 
0052         cr7_ram: cr7_ram@40040000 {
0053             no-map;
0054             reg = <0x0 0x40040000 0x0 0x1fc0000>;
0055         };
0056     };
0057 
0058     cr7_rproc: cr7 {
0059         compatible = "renesas,rcar-cr7";
0060         memory-region = <&cr7_ram>;
0061         power-domains = <&sysc R8A7795_PD_CR7>;
0062         resets = <&cpg 222>;
0063     };
0064 
0065 ...