1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*aa1a8ff2SEmmanuel Vadot%YAML 1.2
3*aa1a8ff2SEmmanuel Vadot---
4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/reserved-memory/nvidia,tegra264-bpmp-shmem.yaml#
5*aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*aa1a8ff2SEmmanuel Vadot
7*aa1a8ff2SEmmanuel Vadottitle: Tegra CPU-NS - BPMP IPC reserved memory
8*aa1a8ff2SEmmanuel Vadot
9*aa1a8ff2SEmmanuel Vadotmaintainers:
10*aa1a8ff2SEmmanuel Vadot  - Peter De Schrijver <pdeschrijver@nvidia.com>
11*aa1a8ff2SEmmanuel Vadot
12*aa1a8ff2SEmmanuel Vadotdescription: |
13*aa1a8ff2SEmmanuel Vadot  Define a memory region used for communication between CPU-NS and BPMP.
14*aa1a8ff2SEmmanuel Vadot  Typically this node is created by the bootloader as the physical address
15*aa1a8ff2SEmmanuel Vadot  has to be known to both CPU-NS and BPMP for correct IPC operation.
16*aa1a8ff2SEmmanuel Vadot  The memory region is defined using a child node under /reserved-memory.
17*aa1a8ff2SEmmanuel Vadot  The sub-node is named shmem@<address>.
18*aa1a8ff2SEmmanuel Vadot
19*aa1a8ff2SEmmanuel VadotallOf:
20*aa1a8ff2SEmmanuel Vadot  - $ref: reserved-memory.yaml
21*aa1a8ff2SEmmanuel Vadot
22*aa1a8ff2SEmmanuel Vadotproperties:
23*aa1a8ff2SEmmanuel Vadot  compatible:
24*aa1a8ff2SEmmanuel Vadot    const: nvidia,tegra264-bpmp-shmem
25*aa1a8ff2SEmmanuel Vadot
26*aa1a8ff2SEmmanuel Vadot  reg:
27*aa1a8ff2SEmmanuel Vadot    description: The physical address and size of the shared SDRAM region
28*aa1a8ff2SEmmanuel Vadot
29*aa1a8ff2SEmmanuel VadotunevaluatedProperties: false
30*aa1a8ff2SEmmanuel Vadot
31*aa1a8ff2SEmmanuel Vadotrequired:
32*aa1a8ff2SEmmanuel Vadot  - compatible
33*aa1a8ff2SEmmanuel Vadot  - reg
34*aa1a8ff2SEmmanuel Vadot  - no-map
35*aa1a8ff2SEmmanuel Vadot
36*aa1a8ff2SEmmanuel Vadotexamples:
37*aa1a8ff2SEmmanuel Vadot  - |
38*aa1a8ff2SEmmanuel Vadot    reserved-memory {
39*aa1a8ff2SEmmanuel Vadot       #address-cells = <2>;
40*aa1a8ff2SEmmanuel Vadot       #size-cells = <2>;
41*aa1a8ff2SEmmanuel Vadot       dram_cpu_bpmp_mail: shmem@f1be0000 {
42*aa1a8ff2SEmmanuel Vadot           compatible = "nvidia,tegra264-bpmp-shmem";
43*aa1a8ff2SEmmanuel Vadot           reg = <0x0 0xf1be0000 0x0 0x2000>;
44*aa1a8ff2SEmmanuel Vadot           no-map;
45*aa1a8ff2SEmmanuel Vadot       };
46*aa1a8ff2SEmmanuel Vadot    };
47*aa1a8ff2SEmmanuel Vadot...
48