2 * linux/include/asm-arm/arch-omap/board.h
4 * Information structures for board-specific data
6 * Copyright (C) 2004 Nokia Corporation
7 * Written by Juha Yrjölä <juha.yrjola@nokia.com>
13 #include <linux/config.h>
14 #include <linux/types.h>
16 /* Different peripheral ids */
17 #define OMAP_TAG_CLOCK 0x4f01
18 #define OMAP_TAG_MMC 0x4f02
19 #define OMAP_TAG_UART 0x4f03
21 struct omap_clock_info {
22 /* 0 for 12 MHz, 1 for 13 MHz and 2 for 19.2 MHz */
26 struct omap_mmc_info {
28 s8 mmc1_power_pin, mmc2_power_pin;
29 s8 mmc1_switch_pin, mmc2_switch_pin;
32 struct omap_uart_info {
37 struct omap_board_info_entry {
43 extern const void *__omap_get_per_info(u16 tag, size_t len);
45 #define omap_get_per_info(tag, type) \
46 ((const type *) __omap_get_per_info((tag), sizeof(type)))