Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 2 | /* |
| 3 | * bur_comon.h |
| 4 | * |
| 5 | * common board information header for B&R boards |
| 6 | * |
Hannes Schmelzer | 4c302b9 | 2015-05-28 15:41:12 +0200 | [diff] [blame] | 7 | * Copyright (C) 2013 Hannes Schmelzer <oe5hpm@oevsv.at> |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 8 | * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _BUR_COMMON_H_ |
| 12 | #define _BUR_COMMON_H_ |
| 13 | |
Dario Binacchi | 449c5e5 | 2020-02-22 14:05:49 +0100 | [diff] [blame] | 14 | #if !CONFIG_IS_ENABLED(DM_VIDEO) |
Dario Binacchi | 260cbc9 | 2020-12-30 00:16:31 +0100 | [diff] [blame] | 15 | #include <../../../drivers/video/ti/am335x-fb.h> |
Hannes Petermaier | fbd5aed | 2015-02-03 13:22:26 +0100 | [diff] [blame] | 16 | |
| 17 | int load_lcdtiming(struct am335x_lcdpanel *panel); |
Dario Binacchi | 449c5e5 | 2020-02-22 14:05:49 +0100 | [diff] [blame] | 18 | #endif |
| 19 | |
Hannes Petermaier | fbd5aed | 2015-02-03 13:22:26 +0100 | [diff] [blame] | 20 | void br_summaryscreen(void); |
Hannes Schmelzer | a9484aa | 2019-01-31 09:24:45 +0100 | [diff] [blame] | 21 | void pmicsetup(u32 mpupll, unsigned int bus); |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 22 | void enable_uart0_pin_mux(void); |
Hannes Petermaier | 2b5b2be | 2015-03-19 10:43:15 +0100 | [diff] [blame] | 23 | void enable_i2c_pin_mux(void); |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 24 | void enable_board_pin_mux(void); |
Masahiro Yamada | b75d8dc | 2020-06-26 15:13:33 +0900 | [diff] [blame] | 25 | int board_eth_init(struct bd_info *bis); |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 26 | |
Hannes Schmelzer | 2fac7a8 | 2019-04-10 14:13:13 +0200 | [diff] [blame] | 27 | int brdefaultip_setup(int bus, int chip); |
| 28 | |
Hannes Petermaier | 893c04e | 2014-02-07 08:07:36 +0100 | [diff] [blame] | 29 | #endif |