1*4882a593SmuzhiyunNVIDIA Tegra20 MC(Memory Controller) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun- compatible : "nvidia,tegra20-mc-gart" 5*4882a593Smuzhiyun- reg : Should contain 2 register ranges: physical base address and length of 6*4882a593Smuzhiyun the controller's registers and the GART aperture respectively. 7*4882a593Smuzhiyun- clocks: Must contain an entry for each entry in clock-names. 8*4882a593Smuzhiyun See ../clocks/clock-bindings.txt for details. 9*4882a593Smuzhiyun- clock-names: Must include the following entries: 10*4882a593Smuzhiyun - mc: the module's clock input 11*4882a593Smuzhiyun- interrupts : Should contain MC General interrupt. 12*4882a593Smuzhiyun- #reset-cells : Should be 1. This cell represents memory client module ID. 13*4882a593Smuzhiyun The assignments may be found in header file <dt-bindings/memory/tegra20-mc.h> 14*4882a593Smuzhiyun or in the TRM documentation. 15*4882a593Smuzhiyun- #iommu-cells: Should be 0. This cell represents the number of cells in an 16*4882a593Smuzhiyun IOMMU specifier needed to encode an address. GART supports only a single 17*4882a593Smuzhiyun address space that is shared by all devices, therefore no additional 18*4882a593Smuzhiyun information needed for the address encoding. 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunExample: 21*4882a593Smuzhiyun mc: memory-controller@7000f000 { 22*4882a593Smuzhiyun compatible = "nvidia,tegra20-mc-gart"; 23*4882a593Smuzhiyun reg = <0x7000f000 0x400 /* controller registers */ 24*4882a593Smuzhiyun 0x58000000 0x02000000>; /* GART aperture */ 25*4882a593Smuzhiyun clocks = <&tegra_car TEGRA20_CLK_MC>; 26*4882a593Smuzhiyun clock-names = "mc"; 27*4882a593Smuzhiyun interrupts = <GIC_SPI 77 0x04>; 28*4882a593Smuzhiyun #reset-cells = <1>; 29*4882a593Smuzhiyun #iommu-cells = <0>; 30*4882a593Smuzhiyun }; 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun video-codec@6001a000 { 33*4882a593Smuzhiyun compatible = "nvidia,tegra20-vde"; 34*4882a593Smuzhiyun ... 35*4882a593Smuzhiyun resets = <&mc TEGRA20_MC_RESET_VDE>; 36*4882a593Smuzhiyun iommus = <&mc>; 37*4882a593Smuzhiyun }; 38