]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-davinci/da8xx_common.h
da850: Add RMII support for EMAC
[karo-tx-uboot.git] / arch / arm / include / asm / arch-davinci / da8xx_common.h
1 /*
2  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18
19 #ifndef __COMMON_H
20 #define __COMMON_H
21
22 #define HAWKBOARD_KICK0_UNLOCK          0x83e70b13
23 #define HAWKBOARD_KICK1_UNLOCK          0x95a4f1e0
24
25 struct lpsc_resource {
26         const int       lpsc_no;
27 };
28
29 void irq_init(void);
30 int da8xx_configure_lpsc_items(const struct lpsc_resource *item,
31                                     int n_items);
32
33 #if defined(CONFIG_DRIVER_TI_EMAC) && defined(CONFIG_MACH_DAVINCI_DA850_EVM)
34 void da850_emac_mii_mode_sel(int mode_sel);
35 #endif
36
37 #endif /* __COMMON_H */