diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-10 17:43:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-24 01:45:18 -0500 |
commit | 9bc7ebcbf1b963bd8bcbe5c1b8e34f0886656cea (patch) | |
tree | 038f5d73ea9176811dfc89ff1bf4354d7ec6b825 | |
parent | eb5dbd22b619c01ff15b58b27c8e3409cfc7a20e (diff) |
MIPS: lantiq: add missing spi clock on falcon SoC
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/8050/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/lantiq/falcon/sysctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/lantiq/falcon/sysctrl.c b/arch/mips/lantiq/falcon/sysctrl.c index 7e74760cf2bd..7edcd4946fc1 100644 --- a/arch/mips/lantiq/falcon/sysctrl.c +++ b/arch/mips/lantiq/falcon/sysctrl.c | |||
@@ -49,6 +49,7 @@ | |||
49 | 49 | ||
50 | /* Activation Status Register */ | 50 | /* Activation Status Register */ |
51 | #define ACTS_ASC0_ACT 0x00001000 | 51 | #define ACTS_ASC0_ACT 0x00001000 |
52 | #define ACTS_SSC0 0x00002000 | ||
52 | #define ACTS_ASC1_ACT 0x00000800 | 53 | #define ACTS_ASC1_ACT 0x00000800 |
53 | #define ACTS_I2C_ACT 0x00004000 | 54 | #define ACTS_I2C_ACT 0x00004000 |
54 | #define ACTS_P0 0x00010000 | 55 | #define ACTS_P0 0x00010000 |
@@ -259,5 +260,6 @@ void __init ltq_soc_init(void) | |||
259 | clkdev_add_sys("1e800600.pad", SYSCTL_SYS1, ACTS_PADCTRL4); | 260 | clkdev_add_sys("1e800600.pad", SYSCTL_SYS1, ACTS_PADCTRL4); |
260 | clkdev_add_sys("1e100b00.serial", SYSCTL_SYS1, ACTS_ASC1_ACT); | 261 | clkdev_add_sys("1e100b00.serial", SYSCTL_SYS1, ACTS_ASC1_ACT); |
261 | clkdev_add_sys("1e100c00.serial", SYSCTL_SYS1, ACTS_ASC0_ACT); | 262 | clkdev_add_sys("1e100c00.serial", SYSCTL_SYS1, ACTS_ASC0_ACT); |
263 | clkdev_add_sys("1e100d00.spi", SYSCTL_SYS1, ACTS_SSC0); | ||
262 | clkdev_add_sys("1e200000.i2c", SYSCTL_SYS1, ACTS_I2C_ACT); | 264 | clkdev_add_sys("1e200000.i2c", SYSCTL_SYS1, ACTS_I2C_ACT); |
263 | } | 265 | } |