diff options
author | Hiep Cao Minh <cm-hiep@jinso.co.jp> | 2013-10-21 22:21:11 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-04 01:11:13 -0500 |
commit | 3dd3b1cf068a64a71f1b40319ca33fcb50842bc0 (patch) | |
tree | 301a2afde2b303ecd4d478746255c921e02cb425 /arch/arm/mach-shmobile/clock-r8a7790.c | |
parent | 65779cb40f26b3b8638729a5216dad771216ce2a (diff) |
ARM: shmobile: r8a7790: add QSPI support
Adds support for QSPI on the r8a7790.
Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-r8a7790.c')
-rw-r--r-- | arch/arm/mach-shmobile/clock-r8a7790.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index 161d44ee8ca3..5269640d71d1 100644 --- a/arch/arm/mach-shmobile/clock-r8a7790.c +++ b/arch/arm/mach-shmobile/clock-r8a7790.c | |||
@@ -183,6 +183,7 @@ static struct clk div6_clks[DIV6_NR] = { | |||
183 | /* MSTP */ | 183 | /* MSTP */ |
184 | enum { | 184 | enum { |
185 | MSTP931, MSTP930, MSTP929, MSTP928, | 185 | MSTP931, MSTP930, MSTP929, MSTP928, |
186 | MSTP917, | ||
186 | MSTP813, | 187 | MSTP813, |
187 | MSTP726, MSTP725, MSTP724, MSTP723, MSTP722, MSTP721, MSTP720, | 188 | MSTP726, MSTP725, MSTP724, MSTP723, MSTP722, MSTP721, MSTP720, |
188 | MSTP717, MSTP716, | 189 | MSTP717, MSTP716, |
@@ -199,6 +200,7 @@ static struct clk mstp_clks[MSTP_NR] = { | |||
199 | [MSTP930] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 30, 0), /* I2C1 */ | 200 | [MSTP930] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 30, 0), /* I2C1 */ |
200 | [MSTP929] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 29, 0), /* I2C2 */ | 201 | [MSTP929] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 29, 0), /* I2C2 */ |
201 | [MSTP928] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 28, 0), /* I2C3 */ | 202 | [MSTP928] = SH_CLK_MSTP32(&hp_clk, SMSTPCR9, 28, 0), /* I2C3 */ |
203 | [MSTP917] = SH_CLK_MSTP32(&qspi_clk, SMSTPCR9, 17, 0), /* QSPI */ | ||
202 | [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */ | 204 | [MSTP813] = SH_CLK_MSTP32(&p_clk, SMSTPCR8, 13, 0), /* Ether */ |
203 | [MSTP726] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 26, 0), /* LVDS0 */ | 205 | [MSTP726] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 26, 0), /* LVDS0 */ |
204 | [MSTP725] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 25, 0), /* LVDS1 */ | 206 | [MSTP725] = SH_CLK_MSTP32(&zx_clk, SMSTPCR7, 25, 0), /* LVDS1 */ |
@@ -298,6 +300,7 @@ static struct clk_lookup lookups[] = { | |||
298 | CLKDEV_DEV_ID("ee220000.mmcif", &mstp_clks[MSTP305]), | 300 | CLKDEV_DEV_ID("ee220000.mmcif", &mstp_clks[MSTP305]), |
299 | CLKDEV_DEV_ID("sh_mmcif.1", &mstp_clks[MSTP305]), | 301 | CLKDEV_DEV_ID("sh_mmcif.1", &mstp_clks[MSTP305]), |
300 | CLKDEV_DEV_ID("sh_cmt.0", &mstp_clks[MSTP124]), | 302 | CLKDEV_DEV_ID("sh_cmt.0", &mstp_clks[MSTP124]), |
303 | CLKDEV_DEV_ID("qspi.0", &mstp_clks[MSTP917]), | ||
301 | CLKDEV_DEV_ID("renesas_usbhs", &mstp_clks[MSTP704]), | 304 | CLKDEV_DEV_ID("renesas_usbhs", &mstp_clks[MSTP704]), |
302 | CLKDEV_ICK_ID("usbhs", "usb_phy_rcar_gen2", &mstp_clks[MSTP704]), | 305 | CLKDEV_ICK_ID("usbhs", "usb_phy_rcar_gen2", &mstp_clks[MSTP704]), |
303 | }; | 306 | }; |