Root/linux-2.6.32.7_sakc/arch/mips/include/asm/mach-jz4740/board-sakc.h

1/*
2 * Copyright (c) 2009 Qi Hardware Inc.,
3 * Author: Xiangfu Liu <xiangfu@qi-hardware.com>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __ASM_JZ4725_SAKC_H__
20#define __ASM_JZ4725_SAKC_H__
21
22#include <linux/gpio.h>
23/*
24 * Frequencies of on-board oscillators
25 */
26#define JZ_EXTAL 12000000 /* Main extal freq: 12 MHz */
27#define JZ_EXTAL_RTC 32768 /* RTC extal freq: 32.768 KHz */
28
29/*
30 * GPIO
31 */
32
33#define GPIO_SD_CD_N JZ_GPIO_PORTC(27)
34
35#endif /* __ASM_JZ4725_SAKC_H__ */
36

Archive Download this file

Branches:
master



interactive