aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91rm9200.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-11-13 00:00:58 -0500
committerArnd Bergmann <arnd@arndb.de>2011-11-29 10:46:12 -0500
commit619d4a4b40f44c1b45263a0e0c9598e3139a1fec (patch)
tree1cf30395b134a16812a18fb58e47f125920ad29d /arch/arm/mach-at91/at91rm9200.c
parented20178d6266e0b9c9370e6862ac1eadadb8b321 (diff)
ARM: at91: switch gpio clock to clkdev
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r--arch/arm/mach-at91/at91rm9200.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c
index c06c14fecba4..7470f6381752 100644
--- a/arch/arm/mach-at91/at91rm9200.c
+++ b/arch/arm/mach-at91/at91rm9200.c
@@ -196,6 +196,10 @@ static struct clk_lookup periph_clocks_lookups[] = {
196 CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), 196 CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk),
197 /* fake hclk clock */ 197 /* fake hclk clock */
198 CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), 198 CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk),
199 CLKDEV_CON_ID("pioA", &pioA_clk),
200 CLKDEV_CON_ID("pioB", &pioB_clk),
201 CLKDEV_CON_ID("pioC", &pioC_clk),
202 CLKDEV_CON_ID("pioD", &pioD_clk),
199}; 203};
200 204
201static struct clk_lookup usart_clocks_lookups[] = { 205static struct clk_lookup usart_clocks_lookups[] = {
@@ -273,19 +277,15 @@ static struct at91_gpio_bank at91rm9200_gpio[] = {
273 { 277 {
274 .id = AT91RM9200_ID_PIOA, 278 .id = AT91RM9200_ID_PIOA,
275 .regbase = AT91RM9200_BASE_PIOA, 279 .regbase = AT91RM9200_BASE_PIOA,
276 .clock = &pioA_clk,
277 }, { 280 }, {
278 .id = AT91RM9200_ID_PIOB, 281 .id = AT91RM9200_ID_PIOB,
279 .regbase = AT91RM9200_BASE_PIOB, 282 .regbase = AT91RM9200_BASE_PIOB,
280 .clock = &pioB_clk,
281 }, { 283 }, {
282 .id = AT91RM9200_ID_PIOC, 284 .id = AT91RM9200_ID_PIOC,
283 .regbase = AT91RM9200_BASE_PIOC, 285 .regbase = AT91RM9200_BASE_PIOC,
284 .clock = &pioC_clk,
285 }, { 286 }, {
286 .id = AT91RM9200_ID_PIOD, 287 .id = AT91RM9200_ID_PIOD,
287 .regbase = AT91RM9200_BASE_PIOD, 288 .regbase = AT91RM9200_BASE_PIOD,
288 .clock = &pioD_clk,
289 } 289 }
290}; 290};
291 291