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