diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-11 23:19:09 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-04-11 23:19:09 +0000 |
commit | 0162245b27eb72c2973c587e5ea59317b43b88bd (patch) | |
tree | 21a04dc3ef46bb5f4361b32eef67a0b1b433b450 /nuttx/configs/mx1ads/include | |
parent | 32ff8af133c4d385a8dd40c756cf9fecaaf407c4 (diff) | |
download | px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.tar.gz px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.tar.bz2 px4-nuttx-0162245b27eb72c2973c587e5ea59317b43b88bd.zip |
Basic UART/console functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1697 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mx1ads/include')
-rw-r--r-- | nuttx/configs/mx1ads/include/board.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/nuttx/configs/mx1ads/include/board.h b/nuttx/configs/mx1ads/include/board.h index 6be596e47..4379121d7 100644 --- a/nuttx/configs/mx1ads/include/board.h +++ b/nuttx/configs/mx1ads/include/board.h @@ -48,7 +48,26 @@ /************************************************************************************ * Definitions ************************************************************************************/ - + +/* Clock settings */ + +#define IMX_SYS_CLK_FREQ 16780000 +#define IMX_SYSPLL_CLK_FREQ 16000000 +#define IMX_PERCLK1_FREQ 96000000 + +/* MPCTL */ + +#define IMX_MPCTL0_VALUE 0x04632410 /* For 150MHz MCU PLL clock */ +#define IMX_MPCTL0_VALUE 0x03AA11B9 /* For 150 MHz ARM clock with 32.768 KHz crystal */ + +/* SPCTL */ + +#define IMX_SPCTL0_VALUE 0x07AA16A6; /* For 96MHz peripheral clock with 32.768 KHz crystal */ + +/* PDCR */ + +#define IMX_PCDR_VALUE 0x00000055 + /* LED definitions ******************************************************************/ /* The MX1ADS has only one usable LED: Port A, bit 2 */ |