aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-davinci/da8xx_common.h
blob: e52f613ea424293f5228e13186809ea2deaeefa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#ifndef __COMMON_H
#define __COMMON_H

#define	HAWKBOARD_KICK0_UNLOCK		0x83e70b13
#define	HAWKBOARD_KICK1_UNLOCK		0x95a4f1e0

struct lpsc_resource {
	const int	lpsc_no;
};

void irq_init(void);
int da8xx_configure_lpsc_items(const struct lpsc_resource *item,
				    int n_items);

#if defined(CONFIG_DRIVER_TI_EMAC) && defined(CONFIG_MACH_DAVINCI_DA850_EVM)
void da850_emac_mii_mode_sel(int mode_sel);
#endif

#endif /* __COMMON_H */