1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
/*
* Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-license.html
* http://www.gnu.org/copyleft/gpl.html
*/
/*!
* @file dptc.c
*
* @brief DPTC table for the Freescale Semiconductor MXC DPTC module.
*
* @ingroup PM
*/
#include <asm/arch/pmic_power.h>
#include <asm/arch/hardware.h>
struct dptc_wp dptc_wp_allfreq_26ckih[DPTC_WP_SUPPORTED] = {
/* 532MHz */
/* dcvr0 dcvr1 dcvr2 dcvr3 regulator voltage */
/* wp0 */
{0xffc00000, 0x95c00000, 0xffc00000, 0xe5800000, SW_SW1A, SW1A_1_625V},
{0xffc00000, 0x95e3e8e4, 0xffc00000, 0xe5b6fda0, SW_SW1A, SW1A_1_6V},
{0xffc00000, 0x95e3e8e4, 0xffc00000, 0xe5b6fda0, SW_SW1A, SW1A_1_575V},
{0xffc00000, 0x95e3e8e8, 0xffc00000, 0xe5f70da4, SW_SW1A, SW1A_1_55V},
{0xffc00000, 0x9623f8e8, 0xffc00000, 0xe6371da8, SW_SW1A, SW1A_1_525V},
/* wp5 */
{0xffc00000, 0x966408f0, 0xffc00000, 0xe6b73db0, SW_SW1A, SW1A_1_5V},
{0xffc00000, 0x96e428f4, 0xffc00000, 0xe7776dbc, SW_SW1A, SW1A_1_475V},
{0xffc00000, 0x976448fc, 0xffc00000, 0xe8379dc8, SW_SW1A, SW1A_1_45V},
{0xffc00000, 0x97e46904, 0xffc00000, 0xe977ddd8, SW_SW1A, SW1A_1_425V},
{0xffc00000, 0x98a48910, 0xffc00000, 0xeab81de8, SW_SW1A, SW1A_1_4V},
/* wp10 */
{0xffc00000, 0x9964b918, 0xffc00000, 0xebf86df8, SW_SW1A, SW1A_1_375V},
{0xffc00000, 0xffe4e924, 0xffc00000, 0xfff8ae08, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xffe5192c, 0xffc00000, 0xfff8fe1c, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xffe54938, 0xffc00000, 0xfff95e2c, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xffe57944, 0xffc00000, 0xfff9ae44, SW_SW1A, SW1A_1_35V},
/* wp15 */
{0xffc00000, 0xffe5b954, 0xffc00000, 0xfffa0e58, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xffe5e960, 0xffc00000, 0xfffa6e70, SW_SW1A, SW1A_1_35V},
};
struct dptc_wp dptc_wp_allfreq_26ckih_TO_2_0[DPTC_WP_SUPPORTED] = {
/* Mx31 TO 2.0 Offset table */
/* 532MHz */
/* dcvr0 dcvr1 dcvr2 dcvr3 regulator voltage */
/* wp0 */
{0xffc00000, 0x9DE63974, 0xffc00000, 0xE3F72D9C, SW_SW1A, SW1A_1_625V},
{0xffc00000, 0x9E265978, 0xffc00000, 0xE4371D9C, SW_SW1A, SW1A_1_6V},
{0xffc00000, 0x9EE6697C, 0xffc00000, 0xE4772DA0, SW_SW1A, SW1A_1_575V},
{0xffc00000, 0x9F265978, 0xffc00000, 0xE4B73DA0, SW_SW1A, SW1A_1_55V},
{0xffc00000, 0x9F265978, 0xffc00000, 0xE4F73DA0, SW_SW1A, SW1A_1_525V},
/* wp5 */
{0xffc00000, 0x9F26797C, 0xffc00000, 0xE5B75DA4, SW_SW1A, SW1A_1_5V},
{0xffc00000, 0x9FE6797C, 0xffc00000, 0xE6375DA4, SW_SW1A, SW1A_1_475V},
{0xffc00000, 0xA026797C, 0xffc00000, 0xE6B76DA8, SW_SW1A, SW1A_1_45V},
{0xffc00000, 0xA0E69980, 0xffc00000, 0xE6F76DA8, SW_SW1A, SW1A_1_425V},
{0xffc00000, 0xA166A980, 0xffc00000, 0xE7778DA8, SW_SW1A, SW1A_1_4V},
/* wp10 */
{0xffc00000, 0xA1669980, 0xffc00000, 0xE8379DAC, SW_SW1A, SW1A_1_375V},
{0xffc00000, 0xA1A6A984, 0xffc00000, 0xE8F7ADB0, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xA1E6A980, 0xffc00000, 0xE9B7BDB0, SW_SW1A, SW1A_1_325V},
{0xffc00000, 0xA266C984, 0xffc00000, 0xEA77CDB4, SW_SW1A, SW1A_1_3V},
{0xffc00000, 0xA2E6C984, 0xffc00000, 0xEB77FDB8, SW_SW1A, SW1A_1_275V},
/* wp15 */
{0xffc00000, 0xA3A6D988, 0xffc00000, 0xECF82DBC, SW_SW1A, SW1A_1_25V},
{0xffc00000, 0xA466F98C, 0xffc00000, 0xEDF81DBC, SW_SW1A, SW1A_1_225V},
};
/* DPTC table for 27MHz */
struct dptc_wp dptc_wp_allfreq_27ckih[DPTC_WP_SUPPORTED] = {
/* 532MHz */
/* dcvr0 dcvr1 dcvr2 dcvr3 regulator voltage */
/* wp0 */
{0xffc00000, 0x90400000, 0xffc00000, 0xdd000000, SW_SW1A, SW1A_1_625V},
{0xffc00000, 0x90629890, 0xffc00000, 0xdd34ed20, SW_SW1A, SW1A_1_6V},
{0xffc00000, 0x90629890, 0xffc00000, 0xdd34ed20, SW_SW1A, SW1A_1_575V},
{0xffc00000, 0x90629894, 0xffc00000, 0xdd74fd24, SW_SW1A, SW1A_1_55V},
{0xffc00000, 0x90a2a894, 0xffc00000, 0xddb50d28, SW_SW1A, SW1A_1_525V},
/* wp5 */
{0xffc00000, 0x90e2b89c, 0xffc00000, 0xde352d30, SW_SW1A, SW1A_1_5V},
{0xffc00000, 0x9162d8a0, 0xffc00000, 0xdef55d38, SW_SW1A, SW1A_1_475V},
{0xffc00000, 0x91e2f8a8, 0xffc00000, 0xdfb58d44, SW_SW1A, SW1A_1_45V},
{0xffc00000, 0x926308b0, 0xffc00000, 0xe0b5cd54, SW_SW1A, SW1A_1_425V},
{0xffc00000, 0x92e328bc, 0xffc00000, 0xe1f60d64, SW_SW1A, SW1A_1_4V},
/* wp10 */
{0xffc00000, 0x93a358c0, 0xffc00000, 0xe3365d74, SW_SW1A, SW1A_1_375V},
{0xffc00000, 0xf66388cc, 0xffc00000, 0xf6768d84, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0xf663b8d4, 0xffc00000, 0xf676dd98, SW_SW1A, SW1A_1_325V},
{0xffc00000, 0xf663e8e0, 0xffc00000, 0xf6773da4, SW_SW1A, SW1A_1_3V},
{0xffc00000, 0xf66418ec, 0xffc00000, 0xf6778dbc, SW_SW1A, SW1A_1_275V},
/* wp15 */
{0xffc00000, 0xf66458fc, 0xffc00000, 0xf677edd0, SW_SW1A, SW1A_1_25V},
{0xffc00000, 0xf6648908, 0xffc00000, 0xf6783de8, SW_SW1A, SW1A_1_2V},
};
struct dptc_wp dptc_wp_allfreq_27ckih_TO_2_0[DPTC_WP_SUPPORTED] = {
/* Mx31 TO 2.0 Offset table */
/* 532MHz */
/* dcvr0 dcvr1 dcvr2 dcvr3 regulator voltage */
/* wp0 */
{0xffc00000, 0x98A4E920, 0xffc00000, 0xDBF51D1C, SW_SW1A, SW1A_1_625V},
{0xffc00000, 0x98E4E920, 0xffc00000, 0xDBF51D20, SW_SW1A, SW1A_1_6V},
{0xffc00000, 0x9924F920, 0xffc00000, 0xDC352D20, SW_SW1A, SW1A_1_575V},
{0xffc00000, 0x9924F924, 0xffc00000, 0xDC752D20, SW_SW1A, SW1A_1_55V},
{0xffc00000, 0x99650924, 0xffc00000, 0xDCF53D24, SW_SW1A, SW1A_1_525V},
/* wp5 */
{0xffc00000, 0x99E50924, 0xffc00000, 0xDD754D24, SW_SW1A, SW1A_1_5V},
{0xffc00000, 0x9A251924, 0xffc00000, 0xDDF55D24, SW_SW1A, SW1A_1_475V},
{0xffc00000, 0x9AA51924, 0xffc00000, 0xDE756D28, SW_SW1A, SW1A_1_45V},
{0xffc00000, 0x9AE52928, 0xffc00000, 0xDF357D2C, SW_SW1A, SW1A_1_425V},
{0xffc00000, 0x9B652928, 0xffc00000, 0xDFB58D2C, SW_SW1A, SW1A_1_4V},
/* wp10 */
{0xffc00000, 0x9BA53928, 0xffc00000, 0xE0759D30, SW_SW1A, SW1A_1_375V},
{0xffc00000, 0x9C254928, 0xffc00000, 0xE135BD30, SW_SW1A, SW1A_1_35V},
{0xffc00000, 0x9CA55928, 0xffc00000, 0xE1F5CD34, SW_SW1A, SW1A_1_325V},
{0xffc00000, 0x9D25592C, 0xffc00000, 0xE2F5ED38, SW_SW1A, SW1A_1_3V},
{0xffc00000, 0x9DA5692C, 0xffc00000, 0xE3F5FD38, SW_SW1A, SW1A_1_275V},
/* wp15 */
{0xffc00000, 0x9E25792C, 0xffc00000, 0xE4F61D3C, SW_SW1A, SW1A_1_25V},
{0xffc00000, 0x9EA58930, 0xffc00000, 0xE6363D40, SW_SW1A, SW1A_1_225V},
};
|