mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 16:38:53 +09:00
![Liu Hui-R64343](/assets/img/avatar_default.png)
Add initial support for Freescale MX53 processor, - Add the iomux support and the pin definition, - Add the regs definition, clean up some unused def from mx51, - Add the low level init support, make use the freq input of setup_pll macro Signed-off-by: Jason Liu <r64343@freescale.com>
56 lines
1.7 KiB
C
56 lines
1.7 KiB
C
/*
|
|
* needed for arch/arm/cpu/armv7/mx51/lowlevel_init.S
|
|
*
|
|
* These should be auto-generated
|
|
*/
|
|
/* CCM */
|
|
#define CLKCTL_CCR 0x00
|
|
#define CLKCTL_CCDR 0x04
|
|
#define CLKCTL_CSR 0x08
|
|
#define CLKCTL_CCSR 0x0C
|
|
#define CLKCTL_CACRR 0x10
|
|
#define CLKCTL_CBCDR 0x14
|
|
#define CLKCTL_CBCMR 0x18
|
|
#define CLKCTL_CSCMR1 0x1C
|
|
#define CLKCTL_CSCMR2 0x20
|
|
#define CLKCTL_CSCDR1 0x24
|
|
#define CLKCTL_CS1CDR 0x28
|
|
#define CLKCTL_CS2CDR 0x2C
|
|
#define CLKCTL_CDCDR 0x30
|
|
#define CLKCTL_CHSCCDR 0x34
|
|
#define CLKCTL_CSCDR2 0x38
|
|
#define CLKCTL_CSCDR3 0x3C
|
|
#define CLKCTL_CSCDR4 0x40
|
|
#define CLKCTL_CWDR 0x44
|
|
#define CLKCTL_CDHIPR 0x48
|
|
#define CLKCTL_CDCR 0x4C
|
|
#define CLKCTL_CTOR 0x50
|
|
#define CLKCTL_CLPCR 0x54
|
|
#define CLKCTL_CISR 0x58
|
|
#define CLKCTL_CIMR 0x5C
|
|
#define CLKCTL_CCOSR 0x60
|
|
#define CLKCTL_CGPR 0x64
|
|
#define CLKCTL_CCGR0 0x68
|
|
#define CLKCTL_CCGR1 0x6C
|
|
#define CLKCTL_CCGR2 0x70
|
|
#define CLKCTL_CCGR3 0x74
|
|
#define CLKCTL_CCGR4 0x78
|
|
#define CLKCTL_CCGR5 0x7C
|
|
#define CLKCTL_CCGR6 0x80
|
|
#if defined(CONFIG_MX53)
|
|
#define CLKCTL_CCGR7 0x84
|
|
#define CLKCTL_CMEOR 0x88
|
|
#elif defined(CONFIG_MX51)
|
|
#define CLKCTL_CMEOR 0x84
|
|
#endif
|
|
|
|
/* DPLL */
|
|
#define PLL_DP_CTL 0x00
|
|
#define PLL_DP_CONFIG 0x04
|
|
#define PLL_DP_OP 0x08
|
|
#define PLL_DP_MFD 0x0C
|
|
#define PLL_DP_MFN 0x10
|
|
#define PLL_DP_HFS_OP 0x1C
|
|
#define PLL_DP_HFS_MFD 0x20
|
|
#define PLL_DP_HFS_MFN 0x24
|