4 * TI AM335x boards information header
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
8 * SPDX-License-Identifier: GPL-2.0+
15 * TI AM335x parts define a system EEPROM that defines certain sub-fields.
16 * We use these fields to in turn see what board we are on, and what
17 * that might require us to set or not set.
19 #define HDR_NO_OF_MAC_ADDR 3
20 #define HDR_ETH_ALEN 6
21 #define HDR_NAME_LEN 8
23 struct am335x_baseboard_id {
25 char name[HDR_NAME_LEN];
29 char mac_addr[HDR_NO_OF_MAC_ADDR][HDR_ETH_ALEN];
33 * We have three pin mux functions that must exist. We must be able to enable
34 * uart0, for initial output and i2c0 to read the main EEPROM. We then have a
35 * main pinmux function that can be overridden to enable all other pinmux that
36 * is required on the board.
38 void enable_uart0_pin_mux(void);
39 void enable_uart1_pin_mux(void);
40 void enable_uart2_pin_mux(void);
41 void enable_uart3_pin_mux(void);
42 void enable_uart4_pin_mux(void);
43 void enable_uart5_pin_mux(void);
44 void enable_i2c0_pin_mux(void);
45 void enable_board_pin_mux(struct am335x_baseboard_id *header);