/* * Copyright (c) 2012, ETH Zurich. All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, CAB F.78, Universitaetstrasse 6, CH-8092 Zurich, * Attn: Systems Group. */ /* * omap44xx_emif.dev * * DESCRIPTION: OMAP44xx device identification * * This is derived from: * * OMAP4460 Multimedia Device Silicon Revision 1.x Technical Reference * Manual Version Q, in particular Section 15.3.6 * */ device omap44xx_emif msbfirst ( addr base ) "OMAP44xx external memory intf." { register mod_id_rev ro addr(base, 0x0000) "Revision" type(uint32); register status ro addr(base, 0x0004) "SDRAM status" { be 1 "Big endian select for 8 and 16-bit devices"; dual_clk 1 "Dual Clock mode"; fast_init 1 "Fast initialization mode"; _ 26 mbz; phy_dll_ready 1 "DDR Phy ready"; _ 2 mbz; }; constants sdram_type width(3) "SDRAM type values" { sdram_s4 = 0x4 "LPDDR2-S4"; sdram_s2 = 0x5 "LPDDR2-S2"; }; register sdram_config rw addr(base, 0x0008) "SDRAM config" { sdram_type 3 type(sdram_type) "SDRAM type"; ibank_pos 2 "Internal bank position"; _ 11; narrow_mode 2 "SDRAM data bus width"; cl 4 "CAS latency"; rowsize 3 "Row size (add 9 for # row bits)"; ibank 3 "Internal bank setup: (1<