| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra20-mc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NVIDIA Tegra20 SoC Memory Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Dmitry Osipenko <[email protected]> |
| 11 |
- Jon Hunter <[email protected]> |
| 12 |
- Thierry Reding <[email protected]> |
| 13 |
|
| 14 |
description: | |
| 15 |
The Tegra20 Memory Controller merges request streams from various client |
| 16 |
interfaces into request stream(s) for the various memory target devices, |
| 17 |
and returns response data to the various clients. The Memory Controller |
| 18 |
has a configurable arbitration algorithm to allow the user to fine-tune |
| 19 |
performance among the various clients. |
| 20 |
|
| 21 |
Tegra20 Memory Controller includes the GART (Graphics Address Relocation |
| 22 |
Table) which allows Memory Controller to provide a linear view of a |
| 23 |
fragmented memory pages. |
| 24 |
|
| 25 |
properties: |
| 26 |
compatible: |
| 27 |
const: nvidia,tegra20-mc-gart |
| 28 |
|
| 29 |
reg: |
| 30 |
items: |
| 31 |
- description: controller registers |
| 32 |
- description: GART registers |
| 33 |
|
| 34 |
clocks: |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
clock-names: |
| 38 |
items: |
| 39 |
- const: mc |
| 40 |
|
| 41 |
interrupts: |
| 42 |
maxItems: 1 |
| 43 |
|
| 44 |
"#reset-cells": |
| 45 |
const: 1 |
| 46 |
|
| 47 |
"#iommu-cells": |
| 48 |
const: 0 |
| 49 |
|
| 50 |
"#interconnect-cells": |
| 51 |
const: 1 |
| 52 |
|
| 53 |
required: |
| 54 |
- compatible |
| 55 |
- reg |
| 56 |
- interrupts |
| 57 |
- clocks |
| 58 |
- clock-names |
| 59 |
- "#reset-cells" |
| 60 |
- "#iommu-cells" |
| 61 |
- "#interconnect-cells" |
| 62 |
|
| 63 |
additionalProperties: false |
| 64 |
|
| 65 |
examples: |
| 66 |
- | |
| 67 |
memory-controller@7000f000 { |
| 68 |
compatible = "nvidia,tegra20-mc-gart"; |
| 69 |
reg = <0x7000f000 0x400>, /* Controller registers */ |
| 70 |
<0x58000000 0x02000000>; /* GART aperture */ |
| 71 |
clocks = <&clock_controller 32>; |
| 72 |
clock-names = "mc"; |
| 73 |
|
| 74 |
interrupts = <0 77 4>; |
| 75 |
|
| 76 |
#iommu-cells = <0>; |
| 77 |
#reset-cells = <1>; |
| 78 |
#interconnect-cells = <1>; |
| 79 |
}; |