blob: 4c9d5b04f1217396388750e91b154a42b3ecdeef [file] [log] [blame]
Enrico Leto2e740502024-01-24 15:43:53 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Board definitions for draco products
4 *
5 * (C) Copyright 2013 Siemens Schweiz AG
6 * (C) Heiko Schocher, DENX Software Engineering, hs@denx.de.
7 *
8 * Based on:
9 * TI AM335x boards information header
10 * u-boot:/board/ti/am335x/board.h
11 *
12 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
13 */
14
15#ifndef _BOARD_AM335X_H_
16#define _BOARD_AM335X_H_
17
18#include "eeprom.h"
19
20/* Common functions with product specific implementation */
21void spl_draco_board_init(void);
22void draco_init_ddr(void);
23int draco_read_eeprom(void);
24
Simon Glass49c24a82024-09-29 19:49:47 -060025#ifdef CONFIG_XPL_BUILD
Enrico Leto2e740502024-01-24 15:43:53 +010026/* Mux for init: uart?, i2c0 to read the main EEPROM */
27void enable_uart0_pin_mux(void);
28void enable_uart1_pin_mux(void);
29void enable_uart2_pin_mux(void);
30void enable_uart3_pin_mux(void);
31void enable_uart4_pin_mux(void);
32void enable_uart5_pin_mux(void);
33void enable_i2c0_pin_mux(void);
34
35/* Main mux function to enable other pinmux required on the board */
36void enable_board_pin_mux(void);
Simon Glass49c24a82024-09-29 19:49:47 -060037#endif /* CONFIG_XPL_BUILD */
Enrico Leto2e740502024-01-24 15:43:53 +010038
39#endif /* _BOARD_AM335X_H_ */