Skip to content

Commit

Permalink
hw/omap_clk: Add the clock for the OMAP2430-specific fifth GPIO module
Browse files Browse the repository at this point in the history
The OMAP2430 has a fifth GPIO module which earlier OMAP2 models lack; add
the clock definition for it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
  • Loading branch information
pm215 authored and balrog-kun committed Jul 30, 2011
1 parent f904920 commit 0a34f96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hw/omap_clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ static struct clk i2c2_iclk = {
.parent = &core_l4_iclk,
};

static struct clk gpio_dbclk[4] = {
static struct clk gpio_dbclk[5] = {
{
.name = "gpio1_dbclk",
.flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
Expand All @@ -853,6 +853,10 @@ static struct clk gpio_dbclk[4] = {
.name = "gpio4_dbclk",
.flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X,
.parent = &wu_32k_clk,
}, {
.name = "gpio5_dbclk",
.flags = CLOCK_IN_OMAP243X,
.parent = &wu_32k_clk,
},
};

Expand Down

0 comments on commit 0a34f96

Please sign in to comment.