4 /*******************************************************************************
6 * Copyright 2002 Integrated Device Technology, Inc.
9 * DDR register definition.
12 * Author : ryan.holmQVist@idt.com
16 * Revision 1.2 2002/06/06 18:34:03 astichte
17 * Added XXX_PhysicalAddress and XXX_VirtualAddress
19 * Revision 1.1 2002/05/29 17:33:21 sysarch
20 * jba File moved from vcode/include/idt/acacia
23 ******************************************************************************/
27 DDR0_PhysicalAddress
= 0x18018000,
28 DDR_PhysicalAddress
= DDR0_PhysicalAddress
, // Default
30 DDR0_VirtualAddress
= 0xb8018000,
31 DDR_VirtualAddress
= DDR0_VirtualAddress
, // Default
51 DDR0BASE_baseaddr_b
= 16,
52 DDR0BASE_baseaddr_m
= 0xffff0000,
55 DDR0MASK_mask_m
= 0xffff0000,
57 DDR1BASE_baseaddr_b
= 16,
58 DDR1BASE_baseaddr_m
= 0xffff0000,
61 DDR1MASK_mask_m
= 0xffff0000,
64 DDRC_ata_m
= 0x000000E0,
66 DDRC_dbw_m
= 0x00000100,
68 DDRC_wr_m
= 0x00000600,
70 DDRC_ps_m
= 0x00001800,
72 DDRC_dtype_m
= 0x0000e000,
74 DDRC_rfc_m
= 0x000f0000,
76 DDRC_rp_m
= 0x00300000,
78 DDRC_ap_m
= 0x00400000,
80 DDRC_rcd_m
= 0x01800000,
82 DDRC_cl_m
= 0x06000000,
84 DDRC_dbm_m
= 0x08000000,
86 DDRC_sds_m
= 0x10000000,
88 DDRC_atp_m
= 0x60000000,
90 DDRC_re_m
= 0x80000000,
93 DDRRDC_ces_m
= 0x00000001,
95 DDRRDC_ace_m
= 0x00000002,
97 DDRABASE_baseaddr_b
= 16,
98 DDRABASE_baseaddr_m
= 0xffff0000,
100 DDRAMASK_mask_b
= 16,
101 DDRAMASK_mask_m
= 0xffff0000,
104 DDRAMAP_map_m
= 0xffff0000,
107 DDRCUST_cs_m
= 0x00000003,
109 DDRCUST_we_m
= 0x00000004,
111 DDRCUST_ras_m
= 0x00000008,
113 DDRCUST_cas_m
= 0x00000010,
115 DDRCUST_cke_m
= 0x00000020,
117 DDRCUST_ba_m
= 0x000000c0,
120 RCOUNT_rcount_m
= 0x0000ffff,
122 RCOMPARE_rcompare_b
= 0,
123 RCOMPARE_rcompare_m
= 0x0000ffff,
126 RTC_ce_m
= 0x00000001,
128 RTC_to_m
= 0x00000002,
130 RTC_rqe_m
= 0x00000004,
133 DDRDQSC_dm_m
= 0x00000003,
135 DDRDQSC_dqsbs_m
= 0x000000fc,
137 DDRDQSC_db_m
= 0x00000100,
139 DDRDQSC_dbsp_m
= 0x01fffe00,
141 DDRDQSC_bdp_m
= 0x7e000000,
144 DDRDLLC_eao_m
= 0x00000001,
146 DDRDLLC_eo_m
= 0x0000003e,
148 DDRDLLC_fs_m
= 0x000000c0,
150 DDRDLLC_as_m
= 0x00000700,
152 DDRDLLC_sp_m
= 0x001ff800,
155 DDRDLLFC_men_m
= 0x00000001,
157 DDRDLLFC_aen_m
= 0x00000002,
159 DDRDLLFC_ff_m
= 0x00000004,
162 DDRDLLTA_addr_m
= 0xfffffffc,
165 DDRDLLED_dbe_m
= 0x00000001,
167 DDRDLLED_dte_m
= 0x00000002,
172 #endif // __IDT_DDR_H__
This page took 0.065584 seconds and 5 git commands to generate.