mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 10:05:18 +07:00
dc8d966bcc
Convert pcibios_assign_all_busses from a define to inline so platforms can control this setting. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
26 lines
746 B
C
26 lines
746 B
C
/*
|
|
* arch/arm/mach-ep93xx/include/mach/hardware.h
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_HARDWARE_H
|
|
#define __ASM_ARCH_HARDWARE_H
|
|
|
|
#include <mach/ep93xx-regs.h>
|
|
#include <mach/platform.h>
|
|
|
|
/*
|
|
* The EP93xx has two external crystal oscillators. To generate the
|
|
* required high-frequency clocks, the processor uses two phase-locked-
|
|
* loops (PLLs) to multiply the incoming external clock signal to much
|
|
* higher frequencies that are then divided down by programmable dividers
|
|
* to produce the needed clocks. The PLLs operate independently of one
|
|
* another.
|
|
*/
|
|
#define EP93XX_EXT_CLK_RATE 14745600
|
|
#define EP93XX_EXT_RTC_RATE 32768
|
|
|
|
#define EP93XX_KEYTCHCLK_DIV4 (EP93XX_EXT_CLK_RATE / 4)
|
|
#define EP93XX_KEYTCHCLK_DIV16 (EP93XX_EXT_CLK_RATE / 16)
|
|
|
|
#endif
|