]> git.proxmox.com Git - qemu.git/commitdiff
hw/omap_clk: Add the clock for the OMAP2430-specific fifth GPIO module
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jul 2011 15:35:16 +0000 (16:35 +0100)
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 30 Jul 2011 04:00:38 +0000 (06:00 +0200)
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>
hw/omap_clk.c

index 6bcabef8acb7112f6f44443820337a235e766ce4..577b326ae9c9298d489c4349ae708aea3ea82613 100644 (file)
@@ -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,
@@ -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,
     },
 };