blob: 79c9af1466b3dda0bd00b02e938dd7a840c664d4 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Hannes Petermaier893c04e2014-02-07 08:07:36 +01002/*
3 * bur_comon.h
4 *
5 * common board information header for B&R boards
6 *
Hannes Schmelzer4c302b92015-05-28 15:41:12 +02007 * Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at>
Hannes Petermaier893c04e2014-02-07 08:07:36 +01008 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
Hannes Petermaier893c04e2014-02-07 08:07:36 +01009 */
10
11#ifndef _BUR_COMMON_H_
12#define _BUR_COMMON_H_
13
Dario Binacchi449c5e52020-02-22 14:05:49 +010014#if !CONFIG_IS_ENABLED(DM_VIDEO)
Dario Binacchi260cbc92020-12-30 00:16:31 +010015#include <../../../drivers/video/ti/am335x-fb.h>
Hannes Petermaierfbd5aed2015-02-03 13:22:26 +010016
17int load_lcdtiming(struct am335x_lcdpanel *panel);
Dario Binacchi449c5e52020-02-22 14:05:49 +010018#endif
19
Hannes Petermaierfbd5aed2015-02-03 13:22:26 +010020void br_summaryscreen(void);
Hannes Schmelzera9484aa2019-01-31 09:24:45 +010021void pmicsetup(u32 mpupll, unsigned int bus);
Hannes Petermaier893c04e2014-02-07 08:07:36 +010022void enable_uart0_pin_mux(void);
Hannes Petermaier2b5b2be2015-03-19 10:43:15 +010023void enable_i2c_pin_mux(void);
Hannes Petermaier893c04e2014-02-07 08:07:36 +010024void enable_board_pin_mux(void);
Masahiro Yamadab75d8dc2020-06-26 15:13:33 +090025int board_eth_init(struct bd_info *bis);
Hannes Petermaier893c04e2014-02-07 08:07:36 +010026
Hannes Schmelzer2fac7a82019-04-10 14:13:13 +020027int brdefaultip_setup(int bus, int chip);
28
Hannes Petermaier893c04e2014-02-07 08:07:36 +010029#endif