aboutsummaryrefslogtreecommitdiffstats
path: root/x-loader/include/asm/arch-omap4/clocks443x.h
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-04-20 14:10:36 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-04-20 14:10:36 +0200
commit819e36b8ceadb1d67db1ffe91b99c5282bfc6159 (patch)
treecaa2bc25e54f0d41abb61920f29d3bf5eee3d864 /x-loader/include/asm/arch-omap4/clocks443x.h
parenta9a9e3f6aed040a12daf64157615f5e9fed974bb (diff)
downloadbootable_bootloader_goldelico_gta04_x-loader-819e36b8ceadb1d67db1ffe91b99c5282bfc6159.zip
bootable_bootloader_goldelico_gta04_x-loader-819e36b8ceadb1d67db1ffe91b99c5282bfc6159.tar.gz
bootable_bootloader_goldelico_gta04_x-loader-819e36b8ceadb1d67db1ffe91b99c5282bfc6159.tar.bz2
tree moved to a better location
Diffstat (limited to 'x-loader/include/asm/arch-omap4/clocks443x.h')
-rw-r--r--x-loader/include/asm/arch-omap4/clocks443x.h154
1 files changed, 0 insertions, 154 deletions
diff --git a/x-loader/include/asm/arch-omap4/clocks443x.h b/x-loader/include/asm/arch-omap4/clocks443x.h
deleted file mode 100644
index 63280f7..0000000
--- a/x-loader/include/asm/arch-omap4/clocks443x.h
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * (C) Copyright 2006-2009
- * Texas Instruments, <www.ti.com>
- * Richard Woodruff <r-woodruff2@ti.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-#ifndef _OMAP443X_CLOCKS_H_
-#define _OMAP443X_CLOCKS_H_
-
-#define PLL_STOP 1 /* PER & IVA */
-#define PLL_MN_POWER_BYPASS 4
-#define PLL_LOW_POWER_BYPASS 5 /* MPU, IVA & CORE */
-#define PLL_FAST_RELOCK_BYPASS 6 /* CORE */
-#define PLL_LOCK 7 /* MPU, IVA, CORE & PER */
-
-/* The following configurations are OPP and SysClk value independant
- * and hence are defined here. All the other DPLL related values are
- * tabulated in lowlevel_init.S.
- */
-
-/* CORE DPLL */
-# define CORE_M3X2 2 /* 332MHz : CM_CLKSEL1_EMU */
-# define CORE_SSI_DIV 3 /* 221MHz : CM_CLKSEL_CORE */
-# define CORE_FUSB_DIV 2 /* 41.5MHz: */
-# define CORE_L4_DIV 2 /* 83MHz : L4 */
-# define CORE_L3_DIV 2 /* 166MHz : L3 {DDR} */
-# define GFX_DIV 2 /* 83MHz : CM_CLKSEL_GFX */
-# define WKUP_RSM 2 /* 41.5MHz: CM_CLKSEL_WKUP */
-
-/* PER DPLL */
-# define PER_M6X2 3 /* 288MHz: CM_CLKSEL1_EMU */
-# define PER_M5X2 4 /* 216MHz: CM_CLKSEL_CAM */
-# define PER_M4X2 9 /* 96MHz : CM_CLKSEL_DSS-dss1 */
-# define PER_M3X2 16 /* 54MHz : CM_CLKSEL_DSS-tv */
-
-# define CLSEL1_EMU_VAL ((CORE_M3X2 << 16) | (PER_M6X2 << 24) | (0x0a50))
-
-#ifdef PRCM_CLK_CFG2_332MHZ
-# define M_12 0xA6
-# define N_12 0x05
-# define FSEL_12 0x07
-# define M2_12 0x01 /* M3 of 2 */
-
-# define M_12_ES1 0x0E
-# define FSL_12_ES1 0x03
-# define M2_12_ES1 0x1 /* M3 of 2 */
-
-# define M_13 0x14C
-# define N_13 0x0C
-# define FSEL_13 0x03
-# define M2_13 0x01 /* M3 of 2 */
-
-# define M_13_ES1 0x1B2
-# define N_13_ES1 0x10
-# define FSL_13_ES1 0x03
-# define M2_13_ES1 0x01 /* M3 of 2 */
-
-# define M_19p2 0x19F
-# define N_19p2 0x17
-# define FSEL_19p2 0x03
-# define M2_19p2 0x01 /* M3 of 2 */
-
-# define M_19p2_ES1 0x19F
-# define N_19p2_ES1 0x17
-# define FSL_19p2_ES1 0x03
-# define M2_19p2_ES1 0x01 /* M3 of 2 */
-
-# define M_26 0xA6
-# define N_26 0x0C
-# define FSEL_26 0x07
-# define M2_26 0x01 /* M3 of 2 */
-
-# define M_26_ES1 0x1B2
-# define N_26_ES1 0x21
-# define FSL_26_ES1 0x03
-# define M2_26_ES1 0x01 /* M3 of 2 */
-
-# define M_38p4 0x19F
-# define N_38p4 0x2F
-# define FSEL_38p4 0x03
-# define M2_38p4 0x01 /* M3 of 2 */
-
-# define M_38p4_ES1 0x19F
-# define N_38p4_ES1 0x2F
-# define FSL_38p4_ES1 0x03
-# define M2_38p4_ES1 0x01 /* M3 of 2 */
-
-#elif defined(PRCM_CLK_CFG2_266MHZ)
-# define M_12 0x85
-# define N_12 0x05
-# define FSEL_12 0x07
-# define M2_12 0x02 /* M3 of 2 */
-
-# define M_12_ES1 0x85 /* 0x10A */
-# define N_12_ES1 0x05 /* 0x05 */
-# define FSL_12_ES1 0x07 /* 0x7 */
-# define M2_12_ES1 0x2 /* 0x2 with an M3 of 4*/
-
-# define M_13 0x10A
-# define N_13 0x0C
-# define FSEL_13 0x3
-# define M2_13 0x1 /* M3 of 2 */
-
-# define M_13_ES1 0x10A /* 0x214 */
-# define N_13_ES1 0x0C /* 0xC */
-# define FSL_13_ES1 0x3 /* 0x3 */
-# define M2_13_ES1 0x1 /* 0x2 with an M3 of 4*/
-
-# define M_19p2 0x115
-# define N_19p2 0x13
-# define FSEL_19p2 0x03
-# define M2_19p2 0x01 /* M3 of 2 */
-
-# define M_19p2_ES1 0x115 /* 0x299 */
-# define N_19p2_ES1 0x13 /* 0x17 */
-# define FSL_19p2_ES1 0x03 /* 0x03 */
-# define M2_19p2_ES1 0x01 /* 0x2 with M3 of 4 */
-
-# define M_26 0x85
-# define N_26 0x0C
-# define FSEL_26 0x07
-# define M2_26 0x01 /* M3 of 2 */
-
-# define M_26_ES1 0x85 /* 0x10A */
-# define N_26_ES1 0x0C /* 0xC */
-# define FSL_26_ES1 0x07 /* 0x7 */
-# define M2_26_ES1 0x01 /* 0x2 with an M3 of 4 */
-
-# define M_38p4 0x11C
-# define N_38p4 0x28
-# define FSEL_38p4 0x03
-# define M2_38p4 0x01 /* M3 of 2 */
-
-# define M_38p4_ES1 0x11C /* 0x299 */
-# define N_38p4_ES1 0x28 /* 0x2f */
-# define FSL_38p4_ES1 0x03 /* 0x3 */
-# define M2_38p4_ES1 0x01 /* 0x2 with an M3 of 4*/
-
-#endif
-
-#endif /* endif _OMAP443X_CLOCKS_H_ */