18c2ecf20Sopenharmony_ciNVIDIA Tegra20 MC(Memory Controller)
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "nvidia,tegra20-mc-gart"
58c2ecf20Sopenharmony_ci- reg : Should contain 2 register ranges: physical base address and length of
68c2ecf20Sopenharmony_ci  the controller's registers and the GART aperture respectively.
78c2ecf20Sopenharmony_ci- clocks: Must contain an entry for each entry in clock-names.
88c2ecf20Sopenharmony_ci  See ../clocks/clock-bindings.txt for details.
98c2ecf20Sopenharmony_ci- clock-names: Must include the following entries:
108c2ecf20Sopenharmony_ci  - mc: the module's clock input
118c2ecf20Sopenharmony_ci- interrupts : Should contain MC General interrupt.
128c2ecf20Sopenharmony_ci- #reset-cells : Should be 1. This cell represents memory client module ID.
138c2ecf20Sopenharmony_ci  The assignments may be found in header file <dt-bindings/memory/tegra20-mc.h>
148c2ecf20Sopenharmony_ci  or in the TRM documentation.
158c2ecf20Sopenharmony_ci- #iommu-cells: Should be 0. This cell represents the number of cells in an
168c2ecf20Sopenharmony_ci  IOMMU specifier needed to encode an address. GART supports only a single
178c2ecf20Sopenharmony_ci  address space that is shared by all devices, therefore no additional
188c2ecf20Sopenharmony_ci  information needed for the address encoding.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciExample:
218c2ecf20Sopenharmony_ci	mc: memory-controller@7000f000 {
228c2ecf20Sopenharmony_ci		compatible = "nvidia,tegra20-mc-gart";
238c2ecf20Sopenharmony_ci		reg = <0x7000f000 0x400		/* controller registers */
248c2ecf20Sopenharmony_ci		       0x58000000 0x02000000>;	/* GART aperture */
258c2ecf20Sopenharmony_ci		clocks = <&tegra_car TEGRA20_CLK_MC>;
268c2ecf20Sopenharmony_ci		clock-names = "mc";
278c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 77 0x04>;
288c2ecf20Sopenharmony_ci		#reset-cells = <1>;
298c2ecf20Sopenharmony_ci		#iommu-cells = <0>;
308c2ecf20Sopenharmony_ci	};
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	video-codec@6001a000 {
338c2ecf20Sopenharmony_ci		compatible = "nvidia,tegra20-vde";
348c2ecf20Sopenharmony_ci		...
358c2ecf20Sopenharmony_ci		resets = <&mc TEGRA20_MC_RESET_VDE>;
368c2ecf20Sopenharmony_ci		iommus = <&mc>;
378c2ecf20Sopenharmony_ci	};
38