rk30: clock: fix sdmmc and serial name
author黄涛 <huangtao@rock-chips.com>
Sun, 25 Mar 2012 03:24:53 +0000 (11:24 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sun, 25 Mar 2012 03:24:53 +0000 (11:24 +0800)
arch/arm/mach-rk30/clock_data.c

index eb42ef651fc67ec868d070ce1a5310afa37abf50..72f4bbfcef809dd1e18f04b00f90b85b6e7d5c31 100644 (file)
@@ -2371,34 +2371,33 @@ static struct clk_lookup clks[] = {
 
        CLK1(smc),
        CLK1(aclk_smc),
-       
-       CLK1(sdmmc),
-       CLK1(hclk_sdmmc),
-       
-       CLK1(sdio),
-       CLK1(hclk_sdio),
-       
+
+       CLK("rk29_sdmmc.0", "mmc", &clk_sdmmc),
+       CLK("rk29_sdmmc.0", "hclk_mmc", &clk_hclk_sdmmc),
+       CLK("rk29_sdmmc.1", "mmc", &clk_sdio),
+       CLK("rk29_sdmmc.1", "hclk_mmc", &clk_hclk_sdio),
+
        CLK1(emmc),
        CLK1(hclk_emmc),
 
 
        CLK1(uart_pll),
-       CLK("rk30_serial.0", "uart_div", &clk_uart0_div),
-       CLK("rk30_serial.0", "uart_frac_div", &clk_uart0_frac_div),
-       CLK("rk30_serial.0", "uart", &clk_uart0),
-       CLK("rk30_serial.0", "pclk_uart", &clk_pclk_uart0),
-       CLK("rk30_serial.1", "uart_div", &clk_uart1_div),
-       CLK("rk30_serial.1", "uart_frac_div", &clk_uart1_frac_div),
-       CLK("rk30_serial.1", "uart", &clk_uart1),
-       CLK("rk30_serial.1", "pclk_uart", &clk_pclk_uart1),
-       CLK("rk30_serial.2", "uart_div", &clk_uart2_div),
-       CLK("rk30_serial.2", "uart_frac_div", &clk_uart2_frac_div),
-       CLK("rk30_serial.2", "uart", &clk_uart2),
-       CLK("rk30_serial.2", "pclk_uart", &clk_pclk_uart2),
-       CLK("rk30_serial.3", "uart_div", &clk_uart3_div),
-       CLK("rk30_serial.3", "uart_frac_div", &clk_uart3_frac_div),
-       CLK("rk30_serial.3", "uart", &clk_uart3),
-       CLK("rk30_serial.3", "pclk_uart", &clk_pclk_uart3),
+       CLK("rk_serial.0", "uart_div", &clk_uart0_div),
+       CLK("rk_serial.0", "uart_frac_div", &clk_uart0_frac_div),
+       CLK("rk_serial.0", "uart", &clk_uart0),
+       CLK("rk_serial.0", "pclk_uart", &clk_pclk_uart0),
+       CLK("rk_serial.1", "uart_div", &clk_uart1_div),
+       CLK("rk_serial.1", "uart_frac_div", &clk_uart1_frac_div),
+       CLK("rk_serial.1", "uart", &clk_uart1),
+       CLK("rk_serial.1", "pclk_uart", &clk_pclk_uart1),
+       CLK("rk_serial.2", "uart_div", &clk_uart2_div),
+       CLK("rk_serial.2", "uart_frac_div", &clk_uart2_frac_div),
+       CLK("rk_serial.2", "uart", &clk_uart2),
+       CLK("rk_serial.2", "pclk_uart", &clk_pclk_uart2),
+       CLK("rk_serial.3", "uart_div", &clk_uart3_div),
+       CLK("rk_serial.3", "uart_frac_div", &clk_uart3_frac_div),
+       CLK("rk_serial.3", "uart", &clk_uart3),
+       CLK("rk_serial.3", "pclk_uart", &clk_pclk_uart3),
 
        CLK1(timer0),
        CLK1(pclk_timer0),