Logo Search packages:      
Sourcecode: linux version File versions

board-mx51_3stack.h File Reference


Detailed Description

This file contains all the board level configuration options.

It currently hold the options defined for MX51 3Stack Platform.

Definition in file board-mx51_3stack.h.

#include <mach/mxc_uart.h>

Go to the source code of this file.

Defines

#define BOARD_IO_ADDR(n)   (DEBUG_BOARD_BASE_ADDRESS(n) + 0x20000)
#define CPLD_CODE_VER_REG   0x50
#define DEBUG_BOARD_BASE_ADDRESS(n)   (n)
#define EXPIO_INT_BUTTON_A   (MXC_EXP_IO_BASE + 3)
#define EXPIO_INT_BUTTON_B   (MXC_EXP_IO_BASE + 4)
#define EXPIO_INT_ENET   (MXC_EXP_IO_BASE + 0)
#define EXPIO_INT_XUART_A   (MXC_EXP_IO_BASE + 1)
#define EXPIO_INT_XUART_B   (MXC_EXP_IO_BASE + 2)
#define EXPIO_PARENT_INT   IOMUX_TO_IRQ(MX51_PIN_GPIO1_6)
#define INTR_MASK_REG   0x38
#define INTR_RESET_REG   0x20
#define INTR_STATUS_REG   0x10
#define LAN9217_BASE_ADDR(n)   (DEBUG_BOARD_BASE_ADDRESS(n))
#define LAN9217_IRQ   EXPIO_INT_ENET
#define LED_SWITCH_REG   0x00
#define MAGIC_NUMBER1_REG   0x40
#define MAGIC_NUMBER2_REG   0x48
#define MAGIC_NUMBER3_REG   0x58
#define MCU_BOARD_ID_REG   0x68
#define MODULE_RESET_REG   0x60
#define MXC_LL_UART_PADDR   UART1_BASE_ADDR
#define MXC_LL_UART_VADDR   AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
#define SWITCH_BUTTONS_REG   0x08
#define UART2_ENABLED   1
#define UART2_IR   NO_IRDA
#define UART2_MODE   MODE_DCE
#define UART3_ENABLED   1
#define UART3_IR   NO_IRDA
#define UART3_MODE   MODE_DTE
#define UARTA_BASE_ADDR(n)   (DEBUG_BOARD_BASE_ADDRESS(n) + 0x8000)
#define UARTB_BASE_ADDR(n)   (DEBUG_BOARD_BASE_ADDRESS(n) + 0x10000)
MXC UART board level configurations
#define MXC_IRDA_RX_INV   0
#define MXC_IRDA_TX_INV   0
#define UART1_ENABLED   1
#define UART1_IR   NO_IRDA
#define UART1_MODE   MODE_DCE

Functions

int __init mx51_3stack_init_mc13892 (void)


Generated by  Doxygen 1.6.0   Back to index