diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2013-12-15 02:24:53 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-02-23 18:54:42 -0500 |
commit | 0e7ed0c1613aea101205b4e0413f75ef8141bf3d (patch) | |
tree | 2156c312865beb8218016a0257bb6f84cb2221fd /arch | |
parent | d2eec3d5251216942e1d425300686f1a18bc615d (diff) |
ARM: shmobile: r7s72100: Add clock for r7s72100-ether
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/clock-r7s72100.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-r7s72100.c b/arch/arm/mach-shmobile/clock-r7s72100.c index 71c99feeff01..f17a5db00221 100644 --- a/arch/arm/mach-shmobile/clock-r7s72100.c +++ b/arch/arm/mach-shmobile/clock-r7s72100.c | |||
@@ -28,6 +28,7 @@ | |||
28 | /* Standby Control Registers */ | 28 | /* Standby Control Registers */ |
29 | #define STBCR3 0xfcfe0420 | 29 | #define STBCR3 0xfcfe0420 |
30 | #define STBCR4 0xfcfe0424 | 30 | #define STBCR4 0xfcfe0424 |
31 | #define STBCR7 0xfcfe0430 | ||
31 | #define STBCR9 0xfcfe0438 | 32 | #define STBCR9 0xfcfe0438 |
32 | #define STBCR10 0xfcfe043c | 33 | #define STBCR10 0xfcfe043c |
33 | 34 | ||
@@ -150,6 +151,7 @@ struct clk div4_clks[DIV4_NR] = { | |||
150 | enum { | 151 | enum { |
151 | MSTP107, MSTP106, MSTP105, MSTP104, MSTP103, | 152 | MSTP107, MSTP106, MSTP105, MSTP104, MSTP103, |
152 | MSTP97, MSTP96, MSTP95, MSTP94, | 153 | MSTP97, MSTP96, MSTP95, MSTP94, |
154 | MSTP74, | ||
153 | MSTP47, MSTP46, MSTP45, MSTP44, MSTP43, MSTP42, MSTP41, MSTP40, | 155 | MSTP47, MSTP46, MSTP45, MSTP44, MSTP43, MSTP42, MSTP41, MSTP40, |
154 | MSTP33, MSTP_NR | 156 | MSTP33, MSTP_NR |
155 | }; | 157 | }; |
@@ -164,6 +166,7 @@ static struct clk mstp_clks[MSTP_NR] = { | |||
164 | [MSTP96] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 6, 0), /* RIIC1 */ | 166 | [MSTP96] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 6, 0), /* RIIC1 */ |
165 | [MSTP95] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 5, 0), /* RIIC2 */ | 167 | [MSTP95] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 5, 0), /* RIIC2 */ |
166 | [MSTP94] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 4, 0), /* RIIC3 */ | 168 | [MSTP94] = SH_CLK_MSTP8(&peripheral0_clk, STBCR9, 4, 0), /* RIIC3 */ |
169 | [MSTP74] = SH_CLK_MSTP8(&peripheral1_clk, STBCR7, 4, 0), /* Ether */ | ||
167 | [MSTP47] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 7, 0), /* SCIF0 */ | 170 | [MSTP47] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 7, 0), /* SCIF0 */ |
168 | [MSTP46] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 6, 0), /* SCIF1 */ | 171 | [MSTP46] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 6, 0), /* SCIF1 */ |
169 | [MSTP45] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 5, 0), /* SCIF2 */ | 172 | [MSTP45] = SH_CLK_MSTP8(&peripheral1_clk, STBCR4, 5, 0), /* SCIF2 */ |
@@ -200,6 +203,7 @@ static struct clk_lookup lookups[] = { | |||
200 | CLKDEV_DEV_ID("fcfee400.i2c", &mstp_clks[MSTP96]), | 203 | CLKDEV_DEV_ID("fcfee400.i2c", &mstp_clks[MSTP96]), |
201 | CLKDEV_DEV_ID("fcfee800.i2c", &mstp_clks[MSTP95]), | 204 | CLKDEV_DEV_ID("fcfee800.i2c", &mstp_clks[MSTP95]), |
202 | CLKDEV_DEV_ID("fcfeec00.i2c", &mstp_clks[MSTP94]), | 205 | CLKDEV_DEV_ID("fcfeec00.i2c", &mstp_clks[MSTP94]), |
206 | CLKDEV_DEV_ID("r7s72100-ether", &mstp_clks[MSTP74]), | ||
203 | CLKDEV_CON_ID("mtu2_fck", &mstp_clks[MSTP33]), | 207 | CLKDEV_CON_ID("mtu2_fck", &mstp_clks[MSTP33]), |
204 | 208 | ||
205 | /* ICK */ | 209 | /* ICK */ |