Commit cb4db038 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP2+: Fix timer entries for dm814x

There's a mux after the oscillator similar to am335x. I did not
notice this on hp t410 as it boots even with no clocks configured.

Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9079446d
...@@ -599,7 +599,7 @@ static struct omap_timer_capability_dev_attr capability_alwon_dev_attr = { ...@@ -599,7 +599,7 @@ static struct omap_timer_capability_dev_attr capability_alwon_dev_attr = {
static struct omap_hwmod dm814x_timer1_hwmod = { static struct omap_hwmod dm814x_timer1_hwmod = {
.name = "timer1", .name = "timer1",
.clkdm_name = "alwon_l3s_clkdm", .clkdm_name = "alwon_l3s_clkdm",
.main_clk = "timer_sys_ck", .main_clk = "timer1_fck",
.dev_attr = &capability_alwon_dev_attr, .dev_attr = &capability_alwon_dev_attr,
.class = &dm816x_timer_hwmod_class, .class = &dm816x_timer_hwmod_class,
.flags = HWMOD_NO_IDLEST, .flags = HWMOD_NO_IDLEST,
...@@ -608,7 +608,7 @@ static struct omap_hwmod dm814x_timer1_hwmod = { ...@@ -608,7 +608,7 @@ static struct omap_hwmod dm814x_timer1_hwmod = {
static struct omap_hwmod_ocp_if dm814x_l4_ls__timer1 = { static struct omap_hwmod_ocp_if dm814x_l4_ls__timer1 = {
.master = &dm81xx_l4_ls_hwmod, .master = &dm81xx_l4_ls_hwmod,
.slave = &dm814x_timer1_hwmod, .slave = &dm814x_timer1_hwmod,
.clk = "timer_sys_ck", .clk = "timer1_fck",
.user = OCP_USER_MPU, .user = OCP_USER_MPU,
}; };
...@@ -636,7 +636,7 @@ static struct omap_hwmod_ocp_if dm816x_l4_ls__timer1 = { ...@@ -636,7 +636,7 @@ static struct omap_hwmod_ocp_if dm816x_l4_ls__timer1 = {
static struct omap_hwmod dm814x_timer2_hwmod = { static struct omap_hwmod dm814x_timer2_hwmod = {
.name = "timer2", .name = "timer2",
.clkdm_name = "alwon_l3s_clkdm", .clkdm_name = "alwon_l3s_clkdm",
.main_clk = "timer_sys_ck", .main_clk = "timer2_fck",
.dev_attr = &capability_alwon_dev_attr, .dev_attr = &capability_alwon_dev_attr,
.class = &dm816x_timer_hwmod_class, .class = &dm816x_timer_hwmod_class,
.flags = HWMOD_NO_IDLEST, .flags = HWMOD_NO_IDLEST,
...@@ -645,7 +645,7 @@ static struct omap_hwmod dm814x_timer2_hwmod = { ...@@ -645,7 +645,7 @@ static struct omap_hwmod dm814x_timer2_hwmod = {
static struct omap_hwmod_ocp_if dm814x_l4_ls__timer2 = { static struct omap_hwmod_ocp_if dm814x_l4_ls__timer2 = {
.master = &dm81xx_l4_ls_hwmod, .master = &dm81xx_l4_ls_hwmod,
.slave = &dm814x_timer2_hwmod, .slave = &dm814x_timer2_hwmod,
.clk = "timer_sys_ck", .clk = "timer2_fck",
.user = OCP_USER_MPU, .user = OCP_USER_MPU,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment