blob: 2591bf4bb3ed54a319fc5224f5e2bac9c5db6daa [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Hannes Petermaierfb003662014-02-07 08:07:36 +01002/*
3 * bur_comon.h
4 *
5 * common board information header for B&R boards
6 *
Hannes Schmelzer7935f032015-05-28 15:41:12 +02007 * Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
Hannes Petermaierfb003662014-02-07 08:07:36 +01008 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
Hannes Petermaierfb003662014-02-07 08:07:36 +01009 */
10
11#ifndef _BUR_COMMON_H_
12#define _BUR_COMMON_H_
13
Hannes Petermaier69d0d7d2015-02-03 13:22:26 +010014#include <../../../drivers/video/am335x-fb.h>
15
16int load_lcdtiming(struct am335x_lcdpanel *panel);
17void br_summaryscreen(void);
Hannes Schmelzer717ee362019-01-31 09:24:45 +010018void pmicsetup(u32 mpupll, unsigned int bus);
Hannes Petermaierfb003662014-02-07 08:07:36 +010019void enable_uart0_pin_mux(void);
Hannes Petermaier2e68d2b2015-03-19 10:43:15 +010020void enable_i2c_pin_mux(void);
Hannes Petermaierfb003662014-02-07 08:07:36 +010021void enable_board_pin_mux(void);
22int board_eth_init(bd_t *bis);
23
Hannes Schmelzer6cd12ce2019-04-10 14:13:13 +020024int brdefaultip_setup(int bus, int chip);
25
Hannes Petermaierfb003662014-02-07 08:07:36 +010026#endif