diff options
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 12 | ||||
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 18 | ||||
-rw-r--r-- | arch/arm/mach-omap2/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/id.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/io.c | 20 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap54xx.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/soc.h | 17 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 3 |
10 files changed, 79 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 56021c67c89c..b5fb5f7992df 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -117,7 +117,7 @@ config ARCH_OMAP2PLUS_TYPICAL | |||
117 | select I2C | 117 | select I2C |
118 | select I2C_OMAP | 118 | select I2C_OMAP |
119 | select MENELAUS if ARCH_OMAP2 | 119 | select MENELAUS if ARCH_OMAP2 |
120 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | 120 | select NEON if CPU_V7 |
121 | select PM_RUNTIME | 121 | select PM_RUNTIME |
122 | select REGULATOR | 122 | select REGULATOR |
123 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | 123 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 |
@@ -131,9 +131,17 @@ config SOC_HAS_OMAP2_SDRC | |||
131 | 131 | ||
132 | config SOC_HAS_REALTIME_COUNTER | 132 | config SOC_HAS_REALTIME_COUNTER |
133 | bool "Real time free running counter" | 133 | bool "Real time free running counter" |
134 | depends on SOC_OMAP5 | 134 | depends on SOC_OMAP5 || SOC_DRA7XX |
135 | default y | 135 | default y |
136 | 136 | ||
137 | config SOC_DRA7XX | ||
138 | bool "TI DRA7XX" | ||
139 | select ARM_ARCH_TIMER | ||
140 | select CPU_V7 | ||
141 | select ARM_GIC | ||
142 | select HAVE_SMP | ||
143 | select COMMON_CLK | ||
144 | |||
137 | comment "OMAP Core Type" | 145 | comment "OMAP Core Type" |
138 | depends on ARCH_OMAP2 | 146 | depends on ARCH_OMAP2 |
139 | 147 | ||
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index d4f671547c37..cc36bfe104fe 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -23,6 +23,7 @@ obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) | |||
23 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) | 23 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) |
24 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) | 24 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) |
25 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) | 25 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) |
26 | obj-$(CONFIG_SOC_DRA7XX) += prm44xx.o $(hwmod-common) $(secure-common) | ||
26 | 27 | ||
27 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) | 28 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
28 | obj-y += mcbsp.o | 29 | obj-y += mcbsp.o |
@@ -39,6 +40,7 @@ omap-4-5-common = omap4-common.o omap-wakeupgen.o | |||
39 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o | 40 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
40 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o | 41 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
41 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) | 42 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) |
43 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) | ||
42 | 44 | ||
43 | plus_sec := $(call as-instr,.arch_extension sec,+sec) | 45 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
44 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) | 46 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
@@ -87,6 +89,7 @@ obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o | |||
87 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o | 89 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o |
88 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o | 90 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o |
89 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o | 91 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o |
92 | obj-$(CONFIG_SOC_DRA7XX) += omap-mpuss-lowpower.o | ||
90 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 93 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
91 | 94 | ||
92 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o | 95 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
@@ -114,6 +117,7 @@ omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \ | |||
114 | vc44xx_data.o vp44xx_data.o | 117 | vc44xx_data.o vp44xx_data.o |
115 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) | 118 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) |
116 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) | 119 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) |
120 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) | ||
117 | 121 | ||
118 | # OMAP voltage domains | 122 | # OMAP voltage domains |
119 | voltagedomain-common := voltage.o vc.o vp.o | 123 | voltagedomain-common := voltage.o vc.o vp.o |
@@ -143,6 +147,7 @@ obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o | |||
143 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) | 147 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) |
144 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) | 148 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) |
145 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o | 149 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o |
150 | obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common) | ||
146 | 151 | ||
147 | # PRCM clockdomain control | 152 | # PRCM clockdomain control |
148 | clockdomain-common += clockdomain.o | 153 | clockdomain-common += clockdomain.o |
@@ -160,6 +165,7 @@ obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o | |||
160 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) | 165 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) |
161 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) | 166 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) |
162 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o | 167 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o |
168 | obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common) | ||
163 | 169 | ||
164 | # Clock framework | 170 | # Clock framework |
165 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o | 171 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o |
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index be5d005ebad2..b89e55ba2c13 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -222,3 +222,21 @@ DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") | |||
222 | .dt_compat = am43_boards_compat, | 222 | .dt_compat = am43_boards_compat, |
223 | MACHINE_END | 223 | MACHINE_END |
224 | #endif | 224 | #endif |
225 | |||
226 | #ifdef CONFIG_SOC_DRA7XX | ||
227 | static const char *dra7xx_boards_compat[] __initdata = { | ||
228 | "ti,dra7", | ||
229 | NULL, | ||
230 | }; | ||
231 | |||
232 | DT_MACHINE_START(DRA7XX_DT, "Generic DRA7XX (Flattened Device Tree)") | ||
233 | .reserve = omap_reserve, | ||
234 | .smp = smp_ops(omap4_smp_ops), | ||
235 | .map_io = omap5_map_io, | ||
236 | .init_early = dra7xx_init_early, | ||
237 | .init_irq = omap_gic_of_init, | ||
238 | .init_machine = omap_generic_init, | ||
239 | .init_time = omap5_realtime_timer_init, | ||
240 | .dt_compat = dra7xx_boards_compat, | ||
241 | MACHINE_END | ||
242 | #endif | ||
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h index dfcc182ecff9..4a5684b96492 100644 --- a/arch/arm/mach-omap2/common.h +++ b/arch/arm/mach-omap2/common.h | |||
@@ -110,6 +110,7 @@ void omap3630_init_late(void); | |||
110 | void am35xx_init_late(void); | 110 | void am35xx_init_late(void); |
111 | void ti81xx_init_late(void); | 111 | void ti81xx_init_late(void); |
112 | int omap2_common_pm_late_init(void); | 112 | int omap2_common_pm_late_init(void); |
113 | void dra7xx_init_early(void); | ||
113 | 114 | ||
114 | #ifdef CONFIG_SOC_BUS | 115 | #ifdef CONFIG_SOC_BUS |
115 | void omap_soc_device_init(void); | 116 | void omap_soc_device_init(void); |
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index 2dc62a25f2c3..0289adcb6efb 100644 --- a/arch/arm/mach-omap2/id.c +++ b/arch/arm/mach-omap2/id.c | |||
@@ -61,7 +61,7 @@ int omap_type(void) | |||
61 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); | 61 | val = omap_ctrl_readl(OMAP343X_CONTROL_STATUS); |
62 | } else if (cpu_is_omap44xx()) { | 62 | } else if (cpu_is_omap44xx()) { |
63 | val = omap_ctrl_readl(OMAP4_CTRL_MODULE_CORE_STATUS); | 63 | val = omap_ctrl_readl(OMAP4_CTRL_MODULE_CORE_STATUS); |
64 | } else if (soc_is_omap54xx()) { | 64 | } else if (soc_is_omap54xx() || soc_is_dra7xx()) { |
65 | val = omap_ctrl_readl(OMAP5XXX_CONTROL_STATUS); | 65 | val = omap_ctrl_readl(OMAP5XXX_CONTROL_STATUS); |
66 | val &= OMAP5_DEVICETYPE_MASK; | 66 | val &= OMAP5_DEVICETYPE_MASK; |
67 | val >>= 6; | 67 | val >>= 6; |
@@ -116,7 +116,7 @@ static u16 tap_prod_id; | |||
116 | 116 | ||
117 | void omap_get_die_id(struct omap_die_id *odi) | 117 | void omap_get_die_id(struct omap_die_id *odi) |
118 | { | 118 | { |
119 | if (cpu_is_omap44xx() || soc_is_omap54xx()) { | 119 | if (cpu_is_omap44xx() || soc_is_omap54xx() || soc_is_dra7xx()) { |
120 | odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_0); | 120 | odi->id_0 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_0); |
121 | odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_1); | 121 | odi->id_1 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_1); |
122 | odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_2); | 122 | odi->id_2 = read_tap_reg(OMAP_TAP_DIE_ID_44XX_2); |
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 4a3f06f02859..3656b8009a1c 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -251,7 +251,7 @@ static struct map_desc omap44xx_io_desc[] __initdata = { | |||
251 | }; | 251 | }; |
252 | #endif | 252 | #endif |
253 | 253 | ||
254 | #ifdef CONFIG_SOC_OMAP5 | 254 | #if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX) |
255 | static struct map_desc omap54xx_io_desc[] __initdata = { | 255 | static struct map_desc omap54xx_io_desc[] __initdata = { |
256 | { | 256 | { |
257 | .virtual = L3_54XX_VIRT, | 257 | .virtual = L3_54XX_VIRT, |
@@ -333,7 +333,7 @@ void __init omap4_map_io(void) | |||
333 | } | 333 | } |
334 | #endif | 334 | #endif |
335 | 335 | ||
336 | #ifdef CONFIG_SOC_OMAP5 | 336 | #if defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX) |
337 | void __init omap5_map_io(void) | 337 | void __init omap5_map_io(void) |
338 | { | 338 | { |
339 | iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc)); | 339 | iotable_init(omap54xx_io_desc, ARRAY_SIZE(omap54xx_io_desc)); |
@@ -653,6 +653,22 @@ void __init omap5_init_early(void) | |||
653 | } | 653 | } |
654 | #endif | 654 | #endif |
655 | 655 | ||
656 | #ifdef CONFIG_SOC_DRA7XX | ||
657 | void __init dra7xx_init_early(void) | ||
658 | { | ||
659 | omap2_set_globals_tap(-1, OMAP2_L4_IO_ADDRESS(DRA7XX_TAP_BASE)); | ||
660 | omap2_set_globals_control(OMAP2_L4_IO_ADDRESS(OMAP54XX_SCM_BASE), | ||
661 | OMAP2_L4_IO_ADDRESS(DRA7XX_CTRL_BASE)); | ||
662 | omap2_set_globals_prm(OMAP2_L4_IO_ADDRESS(OMAP54XX_PRM_BASE)); | ||
663 | omap2_set_globals_cm(OMAP2_L4_IO_ADDRESS(DRA7XX_CM_CORE_AON_BASE), | ||
664 | OMAP2_L4_IO_ADDRESS(OMAP54XX_CM_CORE_BASE)); | ||
665 | omap2_set_globals_prcm_mpu(OMAP2_L4_IO_ADDRESS(OMAP54XX_PRCM_MPU_BASE)); | ||
666 | omap_prm_base_init(); | ||
667 | omap_cm_base_init(); | ||
668 | } | ||
669 | #endif | ||
670 | |||
671 | |||
656 | void __init omap_sdrc_init(struct omap_sdrc_params *sdrc_cs0, | 672 | void __init omap_sdrc_init(struct omap_sdrc_params *sdrc_cs0, |
657 | struct omap_sdrc_params *sdrc_cs1) | 673 | struct omap_sdrc_params *sdrc_cs1) |
658 | { | 674 | { |
diff --git a/arch/arm/mach-omap2/omap54xx.h b/arch/arm/mach-omap2/omap54xx.h index a086ba15868b..2d35c5709408 100644 --- a/arch/arm/mach-omap2/omap54xx.h +++ b/arch/arm/mach-omap2/omap54xx.h | |||
@@ -30,4 +30,8 @@ | |||
30 | #define OMAP54XX_CTRL_BASE 0x4a002800 | 30 | #define OMAP54XX_CTRL_BASE 0x4a002800 |
31 | #define OMAP54XX_SAR_RAM_BASE 0x4ae26000 | 31 | #define OMAP54XX_SAR_RAM_BASE 0x4ae26000 |
32 | 32 | ||
33 | #define DRA7XX_CM_CORE_AON_BASE 0x4a005000 | ||
34 | #define DRA7XX_CTRL_BASE 0x4a003400 | ||
35 | #define DRA7XX_TAP_BASE 0x4ae0c000 | ||
36 | |||
33 | #endif /* __ASM_SOC_OMAP555554XX_H */ | 37 | #endif /* __ASM_SOC_OMAP555554XX_H */ |
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 7f4db12b1459..b4ecd2c7db8e 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -4113,7 +4113,7 @@ void __init omap_hwmod_init(void) | |||
4113 | soc_ops.assert_hardreset = _omap2_assert_hardreset; | 4113 | soc_ops.assert_hardreset = _omap2_assert_hardreset; |
4114 | soc_ops.deassert_hardreset = _omap2_deassert_hardreset; | 4114 | soc_ops.deassert_hardreset = _omap2_deassert_hardreset; |
4115 | soc_ops.is_hardreset_asserted = _omap2_is_hardreset_asserted; | 4115 | soc_ops.is_hardreset_asserted = _omap2_is_hardreset_asserted; |
4116 | } else if (cpu_is_omap44xx() || soc_is_omap54xx()) { | 4116 | } else if (cpu_is_omap44xx() || soc_is_omap54xx() || soc_is_dra7xx()) { |
4117 | soc_ops.enable_module = _omap4_enable_module; | 4117 | soc_ops.enable_module = _omap4_enable_module; |
4118 | soc_ops.disable_module = _omap4_disable_module; | 4118 | soc_ops.disable_module = _omap4_disable_module; |
4119 | soc_ops.wait_target_ready = _omap4_wait_target_ready; | 4119 | soc_ops.wait_target_ready = _omap4_wait_target_ready; |
diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h index 8c616e436bc7..4588df1447ed 100644 --- a/arch/arm/mach-omap2/soc.h +++ b/arch/arm/mach-omap2/soc.h | |||
@@ -8,6 +8,7 @@ | |||
8 | * Written by Tony Lindgren <tony.lindgren@nokia.com> | 8 | * Written by Tony Lindgren <tony.lindgren@nokia.com> |
9 | * | 9 | * |
10 | * Added OMAP4/5 specific defines - Santosh Shilimkar<santosh.shilimkar@ti.com> | 10 | * Added OMAP4/5 specific defines - Santosh Shilimkar<santosh.shilimkar@ti.com> |
11 | * Added DRA7xxx specific defines - Sricharan R<r.sricharan@ti.com> | ||
11 | * | 12 | * |
12 | * This program is free software; you can redistribute it and/or modify | 13 | * This program is free software; you can redistribute it and/or modify |
13 | * it under the terms of the GNU General Public License as published by | 14 | * it under the terms of the GNU General Public License as published by |
@@ -35,6 +36,7 @@ | |||
35 | #ifndef __ASSEMBLY__ | 36 | #ifndef __ASSEMBLY__ |
36 | 37 | ||
37 | #include <linux/bitops.h> | 38 | #include <linux/bitops.h> |
39 | #include <linux/of.h> | ||
38 | 40 | ||
39 | /* | 41 | /* |
40 | * Test if multicore OMAP support is needed | 42 | * Test if multicore OMAP support is needed |
@@ -105,6 +107,15 @@ | |||
105 | # endif | 107 | # endif |
106 | #endif | 108 | #endif |
107 | 109 | ||
110 | #ifdef CONFIG_SOC_DRA7XX | ||
111 | # ifdef OMAP_NAME | ||
112 | # undef MULTI_OMAP2 | ||
113 | # define MULTI_OMAP2 | ||
114 | # else | ||
115 | # define OMAP_NAME DRA7XX | ||
116 | # endif | ||
117 | #endif | ||
118 | |||
108 | /* | 119 | /* |
109 | * Omap device type i.e. EMU/HS/TST/GP/BAD | 120 | * Omap device type i.e. EMU/HS/TST/GP/BAD |
110 | */ | 121 | */ |
@@ -233,6 +244,7 @@ IS_AM_SUBCLASS(437x, 0x437) | |||
233 | #define cpu_is_omap447x() 0 | 244 | #define cpu_is_omap447x() 0 |
234 | #define soc_is_omap54xx() 0 | 245 | #define soc_is_omap54xx() 0 |
235 | #define soc_is_omap543x() 0 | 246 | #define soc_is_omap543x() 0 |
247 | #define soc_is_dra7xx() 0 | ||
236 | 248 | ||
237 | #if defined(MULTI_OMAP2) | 249 | #if defined(MULTI_OMAP2) |
238 | # if defined(CONFIG_ARCH_OMAP2) | 250 | # if defined(CONFIG_ARCH_OMAP2) |
@@ -379,6 +391,11 @@ IS_OMAP_TYPE(3430, 0x3430) | |||
379 | # define soc_is_omap543x() is_omap543x() | 391 | # define soc_is_omap543x() is_omap543x() |
380 | #endif | 392 | #endif |
381 | 393 | ||
394 | #if defined(CONFIG_SOC_DRA7XX) | ||
395 | #undef soc_is_dra7xx | ||
396 | #define soc_is_dra7xx() (of_machine_is_compatible("ti,dra7")) | ||
397 | #endif | ||
398 | |||
382 | /* Various silicon revisions for omap2 */ | 399 | /* Various silicon revisions for omap2 */ |
383 | #define OMAP242X_CLASS 0x24200024 | 400 | #define OMAP242X_CLASS 0x24200024 |
384 | #define OMAP2420_REV_ES1_0 OMAP242X_CLASS | 401 | #define OMAP2420_REV_ES1_0 OMAP242X_CLASS |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 801287ee4d98..fa74a0625da1 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -594,7 +594,8 @@ OMAP_SYS_GP_TIMER_INIT(3, 2, "timer_sys_ck", NULL, | |||
594 | 1, "timer_sys_ck", "ti,timer-alwon"); | 594 | 1, "timer_sys_ck", "ti,timer-alwon"); |
595 | #endif | 595 | #endif |
596 | 596 | ||
597 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) | 597 | #if defined(CONFIG_ARCH_OMAP4) || defined(CONFIG_SOC_OMAP5) || \ |
598 | defined(CONFIG_SOC_DRA7XX) | ||
598 | static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", | 599 | static OMAP_SYS_32K_TIMER_INIT(4, 1, "timer_32k_ck", "ti,timer-alwon", |
599 | 2, "sys_clkin_ck", NULL); | 600 | 2, "sys_clkin_ck", NULL); |
600 | #endif | 601 | #endif |