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