1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP3 OPP table definitions.
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated - https://www.ti.com/
8 * Copyright (C) 2010-2011 Nokia Corporation.
12 #include <linux/module.h>
16 #include "omap_opp_data.h"
23 #define OMAP3430_VDD_MPU_OPP1_UV 975000
24 #define OMAP3430_VDD_MPU_OPP2_UV 1075000
25 #define OMAP3430_VDD_MPU_OPP3_UV 1200000
26 #define OMAP3430_VDD_MPU_OPP4_UV 1270000
27 #define OMAP3430_VDD_MPU_OPP5_UV 1350000
29 struct omap_volt_data omap34xx_vddmpu_volt_data
[] = {
30 VOLT_DATA_DEFINE(OMAP3430_VDD_MPU_OPP1_UV
, OMAP343X_CONTROL_FUSE_OPP1_VDD1
, 0xf4, 0x0c),
31 VOLT_DATA_DEFINE(OMAP3430_VDD_MPU_OPP2_UV
, OMAP343X_CONTROL_FUSE_OPP2_VDD1
, 0xf4, 0x0c),
32 VOLT_DATA_DEFINE(OMAP3430_VDD_MPU_OPP3_UV
, OMAP343X_CONTROL_FUSE_OPP3_VDD1
, 0xf9, 0x18),
33 VOLT_DATA_DEFINE(OMAP3430_VDD_MPU_OPP4_UV
, OMAP343X_CONTROL_FUSE_OPP4_VDD1
, 0xf9, 0x18),
34 VOLT_DATA_DEFINE(OMAP3430_VDD_MPU_OPP5_UV
, OMAP343X_CONTROL_FUSE_OPP5_VDD1
, 0xf9, 0x18),
35 VOLT_DATA_DEFINE(0, 0, 0, 0),
40 #define OMAP3430_VDD_CORE_OPP1_UV 975000
41 #define OMAP3430_VDD_CORE_OPP2_UV 1050000
42 #define OMAP3430_VDD_CORE_OPP3_UV 1150000
44 struct omap_volt_data omap34xx_vddcore_volt_data
[] = {
45 VOLT_DATA_DEFINE(OMAP3430_VDD_CORE_OPP1_UV
, OMAP343X_CONTROL_FUSE_OPP1_VDD2
, 0xf4, 0x0c),
46 VOLT_DATA_DEFINE(OMAP3430_VDD_CORE_OPP2_UV
, OMAP343X_CONTROL_FUSE_OPP2_VDD2
, 0xf4, 0x0c),
47 VOLT_DATA_DEFINE(OMAP3430_VDD_CORE_OPP3_UV
, OMAP343X_CONTROL_FUSE_OPP3_VDD2
, 0xf9, 0x18),
48 VOLT_DATA_DEFINE(0, 0, 0, 0),
55 #define OMAP3630_VDD_MPU_OPP50_UV 1012500
56 #define OMAP3630_VDD_MPU_OPP100_UV 1200000
57 #define OMAP3630_VDD_MPU_OPP120_UV 1325000
58 #define OMAP3630_VDD_MPU_OPP1G_UV 1375000
60 struct omap_volt_data omap36xx_vddmpu_volt_data
[] = {
61 VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP50_UV
, OMAP3630_CONTROL_FUSE_OPP50_VDD1
, 0xf4, 0x0c),
62 VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP100_UV
, OMAP3630_CONTROL_FUSE_OPP100_VDD1
, 0xf9, 0x16),
63 VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP120_UV
, OMAP3630_CONTROL_FUSE_OPP120_VDD1
, 0xfa, 0x23),
64 VOLT_DATA_DEFINE(OMAP3630_VDD_MPU_OPP1G_UV
, OMAP3630_CONTROL_FUSE_OPP1G_VDD1
, 0xfa, 0x27),
65 VOLT_DATA_DEFINE(0, 0, 0, 0),
70 #define OMAP3630_VDD_CORE_OPP50_UV 1000000
71 #define OMAP3630_VDD_CORE_OPP100_UV 1200000
73 struct omap_volt_data omap36xx_vddcore_volt_data
[] = {
74 VOLT_DATA_DEFINE(OMAP3630_VDD_CORE_OPP50_UV
, OMAP3630_CONTROL_FUSE_OPP50_VDD2
, 0xf4, 0x0c),
75 VOLT_DATA_DEFINE(OMAP3630_VDD_CORE_OPP100_UV
, OMAP3630_CONTROL_FUSE_OPP100_VDD2
, 0xf9, 0x16),
76 VOLT_DATA_DEFINE(0, 0, 0, 0),