~damien-moore/+junk/codeblocks

« back to all changes in this revision

Viewing changes to src/plugins/scriptedwizard/resources/tricore/templates/phyCORE-TC1775/h/phycore_setup.h

  • Committer: Damien Moore
  • Date: 2013-10-11 14:25:27 UTC
  • Revision ID: damienlmoore@gmail.com-20131011142527-w13ki0x8yjd7973d
copy of Code::Blocks repo based on SVN rev 9395

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*====================================================================
 
2
* Project:  Board Support Package (BSP)
 
3
* Developed using:
 
4
* Function: phyCORE-TC1775 platform specific setup values
 
5
*
 
6
* Copyright HighTec EDV-Systeme GmbH 1982-2007
 
7
*====================================================================*/
 
8
 
 
9
#ifndef __PHYCORE_SETUP_H__
 
10
#define __PHYCORE_SETUP_H__
 
11
 
 
12
#include "tc1775b/scu/addr.h"
 
13
#include "tc1775b/ebu/addr.h"
 
14
#include "tc1775b/pmu/addr.h"
 
15
 
 
16
/* initialization value for PLLCLC : set clock to 40 MHz */
 
17
#define VAL_PLLCLC                      0x00022300
 
18
 
 
19
 
 
20
/* initialization values for External Bus */
 
21
#define VAL_EBU_CON                     0x0000FF68
 
22
#define VAL_EBU_ADDSEL0         0xA4000061
 
23
#define VAL_EBU_BUSCON0         0x00420A7C
 
24
#define VAL_EBU_ADDSEL1         0xA0000051
 
25
#define VAL_EBU_BUSCON1         0x00020244
 
26
#define VAL_EBU_ADDSEL2         0x00000001
 
27
#define VAL_EBU_BUSCON2         0x80415FFF
 
28
 
 
29
/* CS3: ethernet controller CS8900 */
 
30
#define VAL_EBU_ADDSEL3         0xB0000061
 
31
#define VAL_EBU_BUSCON3         0x00415A7F
 
32
 
 
33
#ifdef ENABLE_ICACHE
 
34
#define VAL_PMU_CON                     0x04000704
 
35
#define VAL_PMU_EIFCON          0x00000040
 
36
#else
 
37
#define VAL_PMU_CON                     0x04003F06
 
38
#define VAL_PMU_EIFCON          0x0000005F
 
39
#endif /* ENABLE_ICACHE */
 
40
 
 
41
 
 
42
#endif /* __PHYCORE_SETUP_H__ */