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