aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32/mach-at32ap/clock.h
diff options
context:
space:
mode:
authorAlex Raimondi <mailinglist@miromico.ch>2008-12-09 16:17:13 +0100
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-01-05 15:52:04 +0100
commitdd5e1339e528197abdb7827663ff0673797fa088 (patch)
tree0cd6eeffbd2c817020a9ef1f1795a31f5c7328d9 /arch/avr32/mach-at32ap/clock.h
parentbc08969fe638bb164915aadd1dc1a21194847000 (diff)
avr32: Hammerhead board support
The Hammerhead platform is built around a AVR32 32-bit microcontroller from Atmel. It offers versatile peripherals, such as ethernet, usb device, usb host etc. The board also incooperates a power supply and is a Power over Ethernet (PoE) Powered Device (PD). Additonally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which will cover even the most exceptional need of memory bandwidth. Together with the onboard video decoder the board is ready for video processing. This patch does include the basic support for the fpga device driver, but not the device driver itself. Signed-off-by: Alex Raimondi <mailinglist@miromico.ch> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/clock.h')
-rw-r--r--arch/avr32/mach-at32ap/clock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/clock.h b/arch/avr32/mach-at32ap/clock.h
index 623bf0e9a1e..4c7ebbdc6df 100644
--- a/arch/avr32/mach-at32ap/clock.h
+++ b/arch/avr32/mach-at32ap/clock.h
@@ -30,3 +30,6 @@ struct clk {
u16 users; /* Enabled if non-zero */
u16 index; /* Sibling index */
};
+
+unsigned long pba_clk_get_rate(struct clk *clk);
+void pba_clk_mode(struct clk *clk, int enabled);