EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

S3C24xxPkg/Sec/include/platform/premium.h

Go to the documentation of this file.
00001 /*
00002  * premium.h
00003  *
00004  * machine specified definitions
00005  *
00006  * Author: Yong-iL Joh <tolkien@mizi.com>
00007  * Date  : $Date: 2004/02/04 06:22:25 $ 
00008  *
00009  * $Revision: 1.1.1.1 $
00010  *
00011    Mon Jul 22 2002 Yong-iL Joh <tolkien@mizi.com>
00012    - initial
00013 
00014  */
00015 
00016 #ifndef _PREMIUM_H_
00017 #define _PREMIUM_H_
00018 
00019 #include "config.h"
00020 #include "pxa250.h"
00021 
00022 /*
00023  * Memory map
00024  */
00025 #include "pxa250_gen_memmap.h"
00026 
00027 /*
00028  * Architectuer magic, machine type
00029  */
00030 #include "architecture.h"
00031 #define MACH_TYPE               194
00032 #define ARCHITECTURE_MAGIC      ((ARM_PLATFORM << 24) | \
00033                                  (ARM_PXA250_CPU << 16) | MACH_TYPE)
00034 /*
00035  */
00036 #define UART_BASE       BTUART_BASE
00037 #define UART_BAUD_RATE  115200
00038 #define CONFIG_GPIO_LED
00039 #define GPIO_LED        (1 << 16)       /* PDA STATUS LED */
00040 #define GPDR_LED        GPDR1_OFFSET
00041 #define GPSR_LED        GPSR1_OFFSET
00042 #define GPCR_LED        GPCR1_OFFSET
00043 
00044 /*
00045  */
00046 #define GPSR0_VAL       0x00228004
00047 #define GPSR1_VAL       0xfe0a322b
00048 #define GPSR2_VAL       0x0001f7ff
00049 
00050 #define GPCR0_VAL       0x00584000
00051 #define GPCR1_VAL       0x00950050
00052 #define GPCR2_VAL       0x0
00053 
00054 #define GPDR0_VAL       0xc3fbc004
00055 #define GPDR1_VAL       0xffdfbafb
00056 #define GPDR2_VAL       0x0001f7ff
00057 
00058 #define GAFR0L_VAL      0x80000000
00059 #define GAFR0U_VAL      0xa55a8012
00060 #define GAFR1L_VAL      0x60908010
00061 #define GAFR1U_VAL      0xaaa01000
00062 #define GAFR2L_VAL      0xaa0aaaaa
00063 #define GAFR2U_VAL      0x2
00064 
00065 #define PSSR_VAL        0x30
00066 
00067 /* Static */
00068 #define MSC0_VAL        0x232423f2
00069 #define MSC1_VAL        0x3ff1a449
00070 #define MSC2_VAL        0x7ff123f2
00071 
00072 /* SDRAM */
00073 #define MDCNFG_VAL      0x00001ac9
00074         /* DE0, 32bits, 9col, 13row, 4 internal bank,
00075            tRP=3clk,CL=3,tRCD=3clk,tRAS(min)=7clk,tRC=10clk,
00076            DLATCH0, DSA1111_2 */
00077 #define MDREFR_VAL      0x000bc018
00078         /* K0DB2, K1DB2, K2DB2, K1RUN, ,E1PIN, DRI=0x018 */
00079 #define MDMRS_VAL       0x0
00080 
00081 /* PCMCIA */
00082 #define MECR_VAL        0x0
00083 #define MCMEM0_VAL      0x00010504
00084 #define MCMEM1_VAL      0x00010504
00085 #define MCATT0_VAL      0x00010504
00086 #define MCATT1_VAL      0x00010504
00087 #define MCIO0_VAL       0x00004715
00088 #define MCIO1_VAL       0x00004715
00089 
00090 #define CCCR_VAL        0x241
00091         /* N:100 - Multiplier=2, M:10 - Multiplier=2, L:Multiplier=27 */
00092 #define CKEN_VAL        0x017def
00093         /* all clock enable */
00094 
00095 /* GPIO definition */
00096 #define GPIO14_VPP_EN   (1 << 14)
00097 
00098 #endif  /* _PREMIUM_H_ */
00099 /*
00100  | $Id: premium.h,v 1.1.1.1 2004/02/04 06:22:25 laputa Exp $
00101  |
00102  | Local Variables:
00103  | mode: c
00104  | mode: font-lock
00105  | version-control: t
00106  | delete-old-versions: t
00107  | End:
00108  |
00109  | -*- End-Of-File -*-
00110  */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines