aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx5/clock.c')
-rw-r--r--arch/arm/mach-mx5/clock.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c
index ddcba085755..fc28dfc7855 100644
--- a/arch/arm/mach-mx5/clock.c
+++ b/arch/arm/mach-mx5/clock.c
@@ -4406,6 +4406,14 @@ static struct clk asrc_clk[] = {
},
};
+static struct clk ahci_phy_clk = {
+ .parent = &usb_phy_clk[0],
+};
+
+static struct clk ahci_dma_clk = {
+ .parent = &ahb_clk,
+};
+
static struct clk dummy_clk = {
.id = 0,
};
@@ -4512,7 +4520,6 @@ static struct clk_lookup mx53_lookups[] = {
_REGISTER_CLOCK("imx-i2c.2", NULL, i2c_clk[2]),
_REGISTER_CLOCK(NULL, "usb_phy2_clk", usb_phy_clk[1]),
_REGISTER_CLOCK(NULL, "ocram_clk", ocram_clk),
- _REGISTER_CLOCK(NULL, "imx_sata_clk", sata_clk),
_REGISTER_CLOCK(NULL, "ieee_1588_clk", ieee_1588_clk),
_REGISTER_CLOCK(NULL, "ieee_rtc_clk", ieee_rtc_clk),
_REGISTER_CLOCK("mxc_mlb.0", NULL, mlb_clk[0]),
@@ -4534,6 +4541,9 @@ static struct clk_lookup mx53_lookups[] = {
_REGISTER_CLOCK("imx25-fec.0", NULL, fec_clk[0]),
_REGISTER_CLOCK("imx2-wdt.0", NULL, dummy_clk),
_REGISTER_CLOCK("imx2-wdt.1", NULL, dummy_clk),
+ _REGISTER_CLOCK("imx53-ahci.0", "ahci", sata_clk),
+ _REGISTER_CLOCK("imx53-ahci.0", "ahci_phy", ahci_phy_clk),
+ _REGISTER_CLOCK("imx53-ahci.0", "ahci_dma", ahci_dma_clk),
};
static void clk_tree_init(void)