Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Gumstix Pepper and AM335x-based boards information header |
| 3 | * |
| 4 | * Copyright (C) 2014, Gumstix, Inc. - http://www.gumstix.com/ |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
| 9 | #ifndef _BOARD_H_ |
| 10 | #define _BOARD_H_ |
| 11 | |
Adam YH Lee | 5e90470 | 2015-06-01 14:29:09 -0700 | [diff] [blame^] | 12 | #define GUMSTIX_PEPPER 0x30000200 |
| 13 | #define GUMSTIX_PEPPER_DVI 0x31000200 |
| 14 | |
| 15 | struct pepper_board_id { |
| 16 | unsigned int device_vendor; |
| 17 | unsigned char revision; |
| 18 | unsigned char content; |
| 19 | char fab_revision[8]; |
| 20 | char env_var[16]; |
| 21 | char en_setting[64]; |
| 22 | }; |
| 23 | |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 24 | /* |
| 25 | * We must be able to enable uart0, for initial output. 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_board_pin_mux(void); |
Adam YH Lee | 5e90470 | 2015-06-01 14:29:09 -0700 | [diff] [blame^] | 31 | void enable_i2c0_pin_mux(void); |
Ash Charles | 2d92ba8 | 2014-05-07 08:24:11 -0700 | [diff] [blame] | 32 | #endif |