]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
MIPS: lantiq: add missing spi clock on falcon SoC
authorJohn Crispin <blogic@openwrt.org>
Fri, 10 Oct 2014 21:43:15 +0000 (23:43 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:18 +0000 (07:45 +0100)
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>
arch/mips/lantiq/falcon/sysctrl.c

index 7e74760cf2bdf92cc9c21f4f0042c846038a46b9..7edcd4946fc11ffccec557427a8eb5963fdbd43a 100644 (file)
@@ -49,6 +49,7 @@
 
 /* Activation Status Register */
 #define ACTS_ASC0_ACT  0x00001000
+#define ACTS_SSC0      0x00002000
 #define ACTS_ASC1_ACT  0x00000800
 #define ACTS_I2C_ACT   0x00004000
 #define ACTS_P0                0x00010000
@@ -259,5 +260,6 @@ void __init ltq_soc_init(void)
        clkdev_add_sys("1e800600.pad", SYSCTL_SYS1, ACTS_PADCTRL4);
        clkdev_add_sys("1e100b00.serial", SYSCTL_SYS1, ACTS_ASC1_ACT);
        clkdev_add_sys("1e100c00.serial", SYSCTL_SYS1, ACTS_ASC0_ACT);
+       clkdev_add_sys("1e100d00.spi", SYSCTL_SYS1, ACTS_SSC0);
        clkdev_add_sys("1e200000.i2c", SYSCTL_SYS1, ACTS_I2C_ACT);
 }