blob: 3a20352d45726108134585dd3009691f71acca65 [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
25#ifdef CONFIG_SPL_BUILD
26/* 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);
37#endif /* CONFIG_SPL_BUILD */
38
39#endif /* _BOARD_AM335X_H_ */