From 0162245b27eb72c2973c587e5ea59317b43b88bd Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 11 Apr 2009 23:19:09 +0000 Subject: Basic UART/console functionality git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1697 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/mx1ads/include/board.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/mx1ads/include/board.h') 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 */ -- cgit v1.2.3