aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files-2.6.32/arch/mips/include/asm/mach-ifxmips/ifxmips_pmu.h
blob: dd1f0d6f12e866503ccc09e73fbe72f813b56b10 (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
/*
 *   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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
 *
 *   Copyright (C) 2007 John Crispin <blogic@openwrt.org>
 */
#ifndef _IFXMIPS_PMU_H__
#define _IFXMIPS_PMU_H__


#define IFXMIPS_PMU_PWDCR_DMA		0x0020
#define IFXMIPS_PMU_PWDCR_USB		0x8041
#define IFXMIPS_PMU_PWDCR_LED		0x0800
#define IFXMIPS_PMU_PWDCR_GPT		0x1000
#define IFXMIPS_PMU_PWDCR_PPE		0x2000
#define IFXMIPS_PMU_PWDCR_FPI		0x4000

void ifxmips_pmu_enable(unsigned int module);
void ifxmips_pmu_disable(unsigned int module);

#endif
+ }, + + .use_fallback_sprom = 1, + .fallback_sprom = { + .type = SPROM_BCM43222, + .pci_bus = 0, + .pci_dev = 1, + .board_fixups = vr3025u_fixups, + .num_board_fixups = ARRAY_SIZE(vr3025u_fixups), + }, +}; + static struct sprom_fixup __initdata wap5813n_fixups[] = { { .offset = 97, .value = 0xfeed }, { .offset = 98, .value = 0x15d1 }, @@ -2110,6 +2163,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6368 &board_96368mvwg, &board_96368mvngr, + &board_VR3025u, &board_WAP5813n, #endif /* CONFIG_BCM63XX_CPU_6368 */ }; @@ -2210,6 +2264,7 @@ static struct of_device_id const bcm963x #ifdef CONFIG_BCM63XX_CPU_6368 { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, }, { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, + { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, }, { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, }, #endif /* CONFIG_BCM63XX_CPU_6368 */ #ifdef CONFIG_BCM63XX_CPU_63268