Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Gumstix Pepper and AM335x-based boards information header |
| 4 | * |
| 5 | * Copyright (C) 2014, Gumstix, Inc. - http://www.gumstix.com/ |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _BOARD_H_ |
| 9 | #define _BOARD_H_ |
| 10 | |
Adam YH Lee | 5e90470 | 2015-06-01 14:29:09 -0700 | [diff] [blame] | 11 | #define GUMSTIX_PEPPER 0x30000200 |
| 12 | #define GUMSTIX_PEPPER_DVI 0x31000200 |
| 13 | |
| 14 | struct pepper_board_id { |
| 15 | unsigned int device_vendor; |
| 16 | unsigned char revision; |
| 17 | unsigned char content; |
| 18 | char fab_revision[8]; |
| 19 | char env_var[16]; |
| 20 | char en_setting[64]; |
| 21 | }; |
| 22 | |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 23 | /* |
| 24 | * We must be able to enable uart0, for initial output. We then have a |
| 25 | * main pinmux function that can be overridden to enable all other pinmux that |
| 26 | * is required on the board. |
| 27 | */ |
| 28 | void enable_uart0_pin_mux(void); |
| 29 | void enable_board_pin_mux(void); |
Adam YH Lee | 5e90470 | 2015-06-01 14:29:09 -0700 | [diff] [blame] | 30 | void enable_i2c0_pin_mux(void); |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 31 | #endif |