xref: /openbmc/u-boot/board/vscom/baltos/board.h (revision d9b23e26)
1 /*
2  * board.h
3  *
4  * TI AM335x boards information header
5  *
6  * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7  *
8  * SPDX-License-Identifier:	GPL-2.0+
9  */
10 
11 #ifndef _BOARD_H_
12 #define _BOARD_H_
13 
14 typedef struct _BSP_VS_HWPARAM    // v1.0
15 {
16 	uint32_t Magic;
17 	uint32_t HwRev;
18 	uint32_t SerialNumber;
19 	char PrdDate[11];    // as a string ie. "01.01.2006"
20 	uint16_t SystemId;
21 	uint8_t MAC1[6];        // internal EMAC
22 	uint8_t MAC2[6];        // SMSC9514
23 	uint8_t MAC3[6];        // WL1271 WLAN
24 } __attribute__ ((packed)) BSP_VS_HWPARAM;
25 
26 /*
27  * We have three pin mux functions that must exist.  We must be able to enable
28  * uart0, for initial output and i2c0 to read the main EEPROM.  We then have a
29  * main pinmux function that can be overridden to enable all other pinmux that
30  * is required on the board.
31  */
32 void enable_uart0_pin_mux(void);
33 void enable_i2c1_pin_mux(void);
34 void enable_board_pin_mux(void);
35 #endif
36