summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_pmc.c
Commit message (Collapse)AuthorAgeFilesLines
* Add FDT attachment.imp2014-02-091-1/+19
|
* Remove #include <machine/frame.h> from all the arm code that doesn'tian2013-10-271-1/+0
| | | | | | really need it. That would be almost everywhere it was included. Add it in a couple files that really do need it and were previously getting it by accident via another header.
* Redo the workaround for at91rm9200 erratum #26 in a way that doesn'tian2013-03-291-15/+9
| | | | cause a lockup on some rm92 hardware.
* Make some at91_pcm_xxx() functions NULL safe.hselasky2012-08-211-1/+6
|
* Correct the PLLA setting functions and centralize.imp2012-08-111-0/+34
|
* Don't use C++ comments.imp2012-08-111-11/+12
|
* More comments about setting PLLA, or rather that we never do.imp2012-08-101-7/+12
|
* Add support for the Atmel AT91SAM9G45 CPU.andrew2012-07-261-1/+47
| | | | Reviewed by: imp
* Enhance the Atmel SoC chip identification routines to account for moreimp2012-06-061-2/+2
| | | | | | | | | | | | | | | | | | SoC variants. Fold the AT91SAM9XE chips into the AT91SAM9260 handling, where appropriate. The following SoCs/SoC families are recognized: at91cap9, at91rm9200, at91sam9260, at91sam9261, at91sam9263, at91sam9g10, at91sam9g20, at91sam9g45, at91sam9n12, at91sam9rl, at91sam9x5 and the following variations are also recognized: at91rm9200_bga, at91rm9200_pqfp, at91sam9xe, at91sam9g45, at91sam9m10, at91sam9g46, at91sam9m11, at91sam9g15, at91sam9g25, at91sam9g35, at91sam9x25, at91sam9x35 This is only the identification routine: no additional Atmel devices are supported at this time. # With these changes, I'm able to boot to the point of identification # on a few different Atmel SoCs that we don't yet support using the # KB920X config file -- someday tht will be an ATMEL config file...
* Eliminate the now-unused AT91C_MASTER_CLOCK option and change the oneimp2012-06-041-1/+1
| | | | | place in the source it was used to the more correct AT91C_MAIN_CLOCK. Sort AT91C_MAIN_CLOCK into a better location in the options.arm file.
* Compute the master clock frequency, so we no longer need to have itimp2012-05-291-16/+33
| | | | | | | | | | | compiled into the kernel. This allows us to boot the same kernel on machines with different master clock frequencies, so long as we can determine the main clock frequency accurately. Cleanup the pmc clock init function so it can be called in early boot so we can use the serial port just after we call cninit. # We have two calls to at91_pmc_clock_init for reasons unknown, that will # be fixed later -- it is harmless for now.
* Another minor re-arrangement of the code: calcualte the master clockimp2012-05-211-52/+64
| | | | | | | | | | | | frequency in the at91_pmc_clock_init rather than passing it in. Allow for frequencies >= 21MHz by rounding to the nearest 500Hz (Idea from Ian Lapore whose company uses a similar arrangement in their product). at91_pmc_clock_init() is now nearly independent of the rest of the pmc driver (which means we may be able to call it much earlier in boot soon to eliminate the master clock config file requirement for printf to work during early boot and also eliminate some interdependencies with the device ordering which requires pmc to be the first device added).
* Minor cleanup before some more major changes:imp2012-05-201-15/+11
| | | | | o main_clock_hz isn't used, eliminate it o move main clock calculation code and table so we have only one ifdef.
* Add support for the Atmel SAM9XE familiy of microcontrollers, whichmarius2012-04-141-5/+9
| | | | | | | consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512. This file was missed in r234291.
* - Try to bring these files closer to style(9).marius2012-04-141-17/+16
| | | | | - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* Fix double ;;kevlo2010-12-061-1/+1
|
* Add support for the AT91SAM9260cognet2010-10-061-1/+7
| | | | Submitted by: Greg Ansley
* if_ate.c:cognet2010-10-061-102/+171
| | | | | | | | | | | | | | | | | | | | | | | * Support for sam9 "EMAC" controller. * Support for rmii interface to phy. at91.c & at91sam9.c: * Eliminate separate at91sam9.c file. * Add new devices to at91sam9_devs table. at91_machdep.c & at at91sam9_machdep.c: * Automatic chip type determination. * Remove compile time chip dependencies. * Eliminate separate at91sam9_machdep.c file. at91_pmc.c: * Corrected support for all of the sam926? and sam9g20 chips. * Remove compile time chip dependencies. My apologies to Greg for taking so long to take care of it.
* Import preliminary support for Atmel AT91SAM9G20 cpu, and the Hot-e HL201.cognet2010-07-141-3/+54
| | | | | This fine work was done by Yohanes Nugroho <yohanes a gmail dot com> Many thanks to John Nicholls and Thinlinx for providing sample hardware.
* - Get rid of extra include file, erroneously added by thestas2008-11-301-1/+0
| | | | | | | previous commit. This include file was required by the first version of the patch. Approved by: kib (mentor, implicit)
* - Obtain main clock frequency dynamically based on CKGR_MCFR registerstas2008-11-301-6/+50
| | | | | | | | | | | contents. - It is possible to override the dynamic configuration by using AT91C_MAIN_CLOCK option in kernel config. PR: arm/128961 (based on) Submitted by: Bjorn Konig <bkoenig@alpha-tierchen.de> Reviewed by: imp Approved by: kib (mentor, implicit)
* Tweak the disclaimer section of the license to match COPYRIGHT, forimp2008-11-251-10/+11
| | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship.
* Use the proper clock domain for the usb host controller.imp2008-08-191-1/+1
| | | | Submitted by: Hans Petter Selasky
* - Whitespace fixes.stas2008-07-221-35/+35
| | | | | Approved by: gonzo MFC after: 1 week
* Kill bogus printf debugs.imp2007-09-161-7/+0
| | | | Approved by: re@ (blanket)
* MFp4: BWCT boards are using an 16MHz xtalticso2007-01-051-1/+1
|
* The TSC board uses a 16MHz base clock for the AT91RM9200, while the Kwikbyteimp2006-07-141-0/+6
| | | | board uses a 10MHz base clock. Cope with this difference.
* improve reporting of clocksimp2006-06-171-3/+2
|
* Add the sekelton of support for the Power Management Controller.imp2006-03-241-0/+419
OpenPOWER on IntegriCloud