Lars Poeschel | 1c1b7c3 | 2013-01-11 00:53:31 +0000 | [diff] [blame] | 1 | /* |
| 2 | * board.h |
| 3 | * |
| 4 | * Phytec phyCORE-AM335x (pcm051) boards information header |
| 5 | * |
| 6 | * Copyright (C) 2013, Lemonage Software GmbH |
| 7 | * Author Lars Poeschel <poeschel@lemonage.de> |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or |
| 10 | * modify it under the terms of the GNU General Public License as |
| 11 | * published by the Free Software Foundation; either version 2 of |
| 12 | * the License, or (at your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | */ |
| 19 | |
| 20 | #ifndef _BOARD_H_ |
| 21 | #define _BOARD_H_ |
| 22 | |
| 23 | /* |
| 24 | * We have three pin mux functions that must exist. We must be able to enable |
| 25 | * uart0, for initial output and i2c0 to read the main EEPROM. We then have a |
| 26 | * main pinmux function that can be overridden to enable all other pinmux that |
| 27 | * is required on the board. |
| 28 | */ |
| 29 | void enable_uart0_pin_mux(void); |
| 30 | void enable_i2c0_pin_mux(void); |
| 31 | void enable_board_pin_mux(void); |
| 32 | void enable_cbmux_pin_mux(void); |
| 33 | #endif |