[BACK]Return to sapmc_reg.h CVS log [TXT][DIR] Up to [local] / prex-old / dev / arm / cats

File: [local] / prex-old / dev / arm / cats / sapmc_reg.h (download)

Revision 1.1, Wed Jul 23 20:58:35 2008 UTC (15 years, 9 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD

implement sapmc, SA-110 Power Management Controller driver. add support
for setting PLL via the PMC, implementing CPUIOC_{GET,SET}_FREQ ioctl() to
allow to change Core Frequency on the fly. This is done using 12 PLL modes,
see datasheet for the details.

/*
 * $Id: sapmc_reg.h,v 1.1 2008/07/23 20:58:35 nbrk Exp $
 */
#ifndef _DEV_ARM_CATS_SAPMC_REG_H_
#define _DEV_ARM_CATS_SAPMC_REG_H_

#define SAPMC_BASE	0x90020000
/* offsets from base */
#define  SAPMC_PPCR	0x14
#define  CCF 0x1f	/* 5 LSB bits */

#endif /* !_DEV_ARM_CATS_SAPMC_REG_H_ */