Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/i2c/tsc2007.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/i2c-gpio.h>
#include <linux/spi/spi.h>
#include <linux/can/platform/mcp251x.h>
#include <mach/eukrea-baseboards.h>
#include <mach/common.h>
#include <mach/hardware.h>
#include <mach/iomux-mx51.h>
#include <asm/setup.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include "devices-imx51.h"
#include "cpu_op-mx51.h"
Go to the source code of this file.
Macros | |
#define | USBH1_RST IMX_GPIO_NR(2, 28) |
#define | ETH_RST IMX_GPIO_NR(2, 31) |
#define | TSC2007_IRQGPIO_REV2 IMX_GPIO_NR(3, 12) |
#define | TSC2007_IRQGPIO_REV3 IMX_GPIO_NR(4, 0) |
#define | CAN_IRQGPIO IMX_GPIO_NR(1, 1) |
#define | CAN_RST IMX_GPIO_NR(4, 15) |
#define | CAN_NCS IMX_GPIO_NR(4, 24) |
#define | CAN_RXOBF_REV2 IMX_GPIO_NR(1, 4) |
#define | CAN_RXOBF_REV3 IMX_GPIO_NR(3, 12) |
#define | CAN_RX1BF IMX_GPIO_NR(1, 6) |
#define | CAN_TXORTS IMX_GPIO_NR(1, 7) |
#define | CAN_TX1RTS IMX_GPIO_NR(1, 8) |
#define | CAN_TX2RTS IMX_GPIO_NR(1, 9) |
#define | I2C_SCL IMX_GPIO_NR(4, 16) |
#define | I2C_SDA IMX_GPIO_NR(4, 17) |
#define | MX51_USB_CTRL_1_OFFSET 0x10 |
#define | MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25) |
#define | MX51_USB_PLLDIV_12_MHZ 0x00 |
#define | MX51_USB_PLL_DIV_19_2_MHZ 0x01 |
#define | MX51_USB_PLL_DIV_24_MHZ 0x02 |
Functions | |
__setup ("otg_mode=", eukrea_cpuimx51sd_otg_mode) | |
Variables | |
atag_offset = 0x100 | |
map_io = mx51_map_io | |
init_early = imx51_init_early | |
init_irq = mx51_init_irq | |
handle_irq = imx51_handle_irq | |
timer = &mxc_timer | |
init_machine = eukrea_cpuimx51sd_init | |
init_late = imx51_init_late | |
restart = mxc_restart | |
#define CAN_IRQGPIO IMX_GPIO_NR(1, 1) |
Definition at line 46 of file mach-cpuimx51sd.c.
#define CAN_NCS IMX_GPIO_NR(4, 24) |
Definition at line 48 of file mach-cpuimx51sd.c.
#define CAN_RST IMX_GPIO_NR(4, 15) |
Definition at line 47 of file mach-cpuimx51sd.c.
#define CAN_RX1BF IMX_GPIO_NR(1, 6) |
Definition at line 51 of file mach-cpuimx51sd.c.
#define CAN_RXOBF_REV2 IMX_GPIO_NR(1, 4) |
Definition at line 49 of file mach-cpuimx51sd.c.
#define CAN_RXOBF_REV3 IMX_GPIO_NR(3, 12) |
Definition at line 50 of file mach-cpuimx51sd.c.
#define CAN_TX1RTS IMX_GPIO_NR(1, 8) |
Definition at line 53 of file mach-cpuimx51sd.c.
#define CAN_TX2RTS IMX_GPIO_NR(1, 9) |
Definition at line 54 of file mach-cpuimx51sd.c.
#define CAN_TXORTS IMX_GPIO_NR(1, 7) |
Definition at line 52 of file mach-cpuimx51sd.c.
#define ETH_RST IMX_GPIO_NR(2, 31) |
Definition at line 43 of file mach-cpuimx51sd.c.
#define I2C_SCL IMX_GPIO_NR(4, 16) |
Definition at line 55 of file mach-cpuimx51sd.c.
#define I2C_SDA IMX_GPIO_NR(4, 17) |
Definition at line 56 of file mach-cpuimx51sd.c.
#define MX51_USB_CTRL_1_OFFSET 0x10 |
Definition at line 59 of file mach-cpuimx51sd.c.
#define MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25) |
Definition at line 60 of file mach-cpuimx51sd.c.
#define MX51_USB_PLL_DIV_19_2_MHZ 0x01 |
Definition at line 63 of file mach-cpuimx51sd.c.
#define MX51_USB_PLL_DIV_24_MHZ 0x02 |
Definition at line 64 of file mach-cpuimx51sd.c.
#define MX51_USB_PLLDIV_12_MHZ 0x00 |
Definition at line 62 of file mach-cpuimx51sd.c.
#define TSC2007_IRQGPIO_REV2 IMX_GPIO_NR(3, 12) |
Definition at line 44 of file mach-cpuimx51sd.c.
#define TSC2007_IRQGPIO_REV3 IMX_GPIO_NR(4, 0) |
Definition at line 45 of file mach-cpuimx51sd.c.
#define USBH1_RST IMX_GPIO_NR(2, 28) |
Definition at line 42 of file mach-cpuimx51sd.c.
__setup | ( | ) |
atag_offset = 0x100 |
Definition at line 365 of file mach-cpuimx51sd.c.
handle_irq = imx51_handle_irq |
Definition at line 369 of file mach-cpuimx51sd.c.
init_early = imx51_init_early |
Definition at line 367 of file mach-cpuimx51sd.c.
init_irq = mx51_init_irq |
Definition at line 368 of file mach-cpuimx51sd.c.
init_late = imx51_init_late |
Definition at line 372 of file mach-cpuimx51sd.c.
init_machine = eukrea_cpuimx51sd_init |
Definition at line 371 of file mach-cpuimx51sd.c.
map_io = mx51_map_io |
Definition at line 366 of file mach-cpuimx51sd.c.
restart = mxc_restart |
Definition at line 373 of file mach-cpuimx51sd.c.
timer = &mxc_timer |
Definition at line 370 of file mach-cpuimx51sd.c.