hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.txt
....@@ -1,26 +1,37 @@
11 NVIDIA Tegra20 MC(Memory Controller)
22
33 Required properties:
4
-- compatible : "nvidia,tegra20-mc"
5
-- reg : Should contain 2 register ranges(address and length); see the
6
- example below. Note that the MC registers are interleaved with the
7
- GART registers, and hence must be represented as multiple ranges.
4
+- compatible : "nvidia,tegra20-mc-gart"
5
+- reg : Should contain 2 register ranges: physical base address and length of
6
+ the controller's registers and the GART aperture respectively.
7
+- clocks: Must contain an entry for each entry in clock-names.
8
+ See ../clocks/clock-bindings.txt for details.
9
+- clock-names: Must include the following entries:
10
+ - mc: the module's clock input
811 - interrupts : Should contain MC General interrupt.
912 - #reset-cells : Should be 1. This cell represents memory client module ID.
1013 The assignments may be found in header file <dt-bindings/memory/tegra20-mc.h>
1114 or in the TRM documentation.
15
+- #iommu-cells: Should be 0. This cell represents the number of cells in an
16
+ IOMMU specifier needed to encode an address. GART supports only a single
17
+ address space that is shared by all devices, therefore no additional
18
+ information needed for the address encoding.
1219
1320 Example:
1421 mc: memory-controller@7000f000 {
15
- compatible = "nvidia,tegra20-mc";
16
- reg = <0x7000f000 0x024
17
- 0x7000f03c 0x3c4>;
18
- interrupts = <0 77 0x04>;
22
+ compatible = "nvidia,tegra20-mc-gart";
23
+ reg = <0x7000f000 0x400 /* controller registers */
24
+ 0x58000000 0x02000000>; /* GART aperture */
25
+ clocks = <&tegra_car TEGRA20_CLK_MC>;
26
+ clock-names = "mc";
27
+ interrupts = <GIC_SPI 77 0x04>;
1928 #reset-cells = <1>;
29
+ #iommu-cells = <0>;
2030 };
2131
2232 video-codec@6001a000 {
2333 compatible = "nvidia,tegra20-vde";
2434 ...
2535 resets = <&mc TEGRA20_MC_RESET_VDE>;
36
+ iommus = <&mc>;
2637 };