Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/of_platform.h>
#include <linux/spinlock_types.h>
#include <mach/misc_regs.h>
#include "clk.h"
Go to the source code of this file.
Functions | |
void __init | spear3xx_clk_init (void) |
#define ADC_CLK_ENB 15 |
Definition at line 62 of file spear3xx_clock.c.
#define AMEM_CLK_CFG (MISC_BASE + 0x050) |
Definition at line 88 of file spear3xx_clock.c.
#define AMEM_CLK_ENB 0 |
Definition at line 89 of file spear3xx_clock.c.
#define C3_CLK_ENB 31 |
Definition at line 70 of file spear3xx_clock.c.
#define CLCD_CLK_SYNT (MISC_BASE + 0x05C) |
Definition at line 91 of file spear3xx_clock.c.
#define CORE_CLK_CFG (MISC_BASE + 0x024) |
Definition at line 32 of file spear3xx_clock.c.
#define DMA_CLK_ENB 19 |
Definition at line 65 of file spear3xx_clock.c.
#define FIRDA_CLK_ENB 10 |
Definition at line 59 of file spear3xx_clock.c.
#define FIRDA_CLK_MASK 2 |
Definition at line 47 of file spear3xx_clock.c.
#define FIRDA_CLK_SHIFT 5 |
Definition at line 46 of file spear3xx_clock.c.
#define FIRDA_CLK_SYNT (MISC_BASE + 0x060) |
Definition at line 92 of file spear3xx_clock.c.
#define GEN0_CLK_SYNT (MISC_BASE + 0x06C) |
Definition at line 95 of file spear3xx_clock.c.
#define GEN1_CLK_SYNT (MISC_BASE + 0x070) |
Definition at line 96 of file spear3xx_clock.c.
#define GEN2_CLK_SYNT (MISC_BASE + 0x074) |
Definition at line 97 of file spear3xx_clock.c.
#define GEN3_CLK_SYNT (MISC_BASE + 0x078) |
Definition at line 98 of file spear3xx_clock.c.
#define GEN_SYNTH2_3_CLK_MASK 1 |
Definition at line 35 of file spear3xx_clock.c.
#define GEN_SYNTH2_3_CLK_SHIFT 18 |
Definition at line 34 of file spear3xx_clock.c.
#define GMAC_CLK_ENB 23 |
Definition at line 67 of file spear3xx_clock.c.
#define GMAC_CLK_SYNT (MISC_BASE + 0x068) |
Definition at line 94 of file spear3xx_clock.c.
#define GPIO_CLK_ENB 18 |
Definition at line 64 of file spear3xx_clock.c.
#define GPT0_CLK_SHIFT 8 |
Definition at line 48 of file spear3xx_clock.c.
#define GPT1_CLK_ENB 11 |
Definition at line 60 of file spear3xx_clock.c.
#define GPT1_CLK_SHIFT 11 |
Definition at line 49 of file spear3xx_clock.c.
#define GPT2_CLK_ENB 12 |
Definition at line 61 of file spear3xx_clock.c.
#define GPT2_CLK_SHIFT 12 |
Definition at line 50 of file spear3xx_clock.c.
#define GPT_CLK_MASK 1 |
Definition at line 51 of file spear3xx_clock.c.
#define HCLK_RATIO_MASK 2 |
Definition at line 38 of file spear3xx_clock.c.
#define HCLK_RATIO_SHIFT 10 |
Definition at line 37 of file spear3xx_clock.c.
#define I2C_CLK_ENB 7 |
Definition at line 57 of file spear3xx_clock.c.
#define JPEG_CLK_ENB 8 |
Definition at line 58 of file spear3xx_clock.c.
#define MCTR_CLK_MASK 3 |
Definition at line 30 of file spear3xx_clock.c.
#define MCTR_CLK_SHIFT 28 |
Definition at line 29 of file spear3xx_clock.c.
#define PCLK_RATIO_MASK 2 |
Definition at line 40 of file spear3xx_clock.c.
#define PCLK_RATIO_SHIFT 8 |
Definition at line 39 of file spear3xx_clock.c.
#define PERIP1_CLK_ENB (MISC_BASE + 0x02C) |
Definition at line 53 of file spear3xx_clock.c.
#define PERIP_CLK_CFG (MISC_BASE + 0x028) |
Definition at line 42 of file spear3xx_clock.c.
#define PLL1_CTR (MISC_BASE + 0x008) |
Definition at line 23 of file spear3xx_clock.c.
#define PLL1_FRQ (MISC_BASE + 0x00C) |
Definition at line 24 of file spear3xx_clock.c.
#define PLL2_CTR (MISC_BASE + 0x014) |
Definition at line 25 of file spear3xx_clock.c.
#define PLL2_FRQ (MISC_BASE + 0x018) |
Definition at line 26 of file spear3xx_clock.c.
#define PLL_CLK_CFG (MISC_BASE + 0x020) |
Definition at line 27 of file spear3xx_clock.c.
#define PRSC0_CLK_CFG (MISC_BASE + 0x044) |
Definition at line 85 of file spear3xx_clock.c.
#define PRSC1_CLK_CFG (MISC_BASE + 0x048) |
Definition at line 86 of file spear3xx_clock.c.
#define PRSC2_CLK_CFG (MISC_BASE + 0x04C) |
Definition at line 87 of file spear3xx_clock.c.
#define RAS_24M_CLK_ENB 4 |
Definition at line 77 of file spear3xx_clock.c.
#define RAS_32K_CLK_ENB 3 |
Definition at line 76 of file spear3xx_clock.c.
#define RAS_48M_CLK_ENB 5 |
Definition at line 78 of file spear3xx_clock.c.
#define RAS_AHB_CLK_ENB 0 |
Definition at line 73 of file spear3xx_clock.c.
#define RAS_APB_CLK_ENB 2 |
Definition at line 75 of file spear3xx_clock.c.
#define RAS_CLK_ENB (MISC_BASE + 0x034) |
Definition at line 72 of file spear3xx_clock.c.
#define RAS_PLL1_CLK_ENB 1 |
Definition at line 74 of file spear3xx_clock.c.
#define RAS_PLL2_CLK_ENB 7 |
Definition at line 79 of file spear3xx_clock.c.
#define RAS_SYNT0_CLK_ENB 8 |
Definition at line 80 of file spear3xx_clock.c.
#define RAS_SYNT1_CLK_ENB 9 |
Definition at line 81 of file spear3xx_clock.c.
#define RAS_SYNT2_CLK_ENB 10 |
Definition at line 82 of file spear3xx_clock.c.
#define RAS_SYNT3_CLK_ENB 11 |
Definition at line 83 of file spear3xx_clock.c.
#define RTC_CLK_ENB 17 |
Definition at line 63 of file spear3xx_clock.c.
#define SMI_CLK_ENB 21 |
Definition at line 66 of file spear3xx_clock.c.
#define SSP_CLK_ENB 5 |
Definition at line 56 of file spear3xx_clock.c.
#define UART_CLK_ENB 3 |
Definition at line 55 of file spear3xx_clock.c.
#define UART_CLK_MASK 1 |
Definition at line 45 of file spear3xx_clock.c.
#define UART_CLK_SHIFT 4 |
Definition at line 44 of file spear3xx_clock.c.
#define UART_CLK_SYNT (MISC_BASE + 0x064) |
Definition at line 93 of file spear3xx_clock.c.
#define USBD_CLK_ENB 24 |
Definition at line 68 of file spear3xx_clock.c.
#define USBH_CLK_ENB 25 |
Definition at line 69 of file spear3xx_clock.c.
Definition at line 341 of file spear3xx_clock.c.