MIPS: ralink: add rt3883 wmac clock
authorJohn Crispin <blogic@openwrt.org>
Sun, 27 Jul 2014 09:14:30 +0000 (10:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:20 +0000 (07:45 +0100)
Register the wireless mac clock on rti3883. This is required by the wifi driver.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/8007/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/rt3883.c

index b474ac284b83f30454977c3c8c7d9682d75a5619..58b5b9f464a1cbed5247bb351fca197d3e2aad10 100644 (file)
@@ -204,6 +204,7 @@ void __init ralink_clk_init(void)
        ralink_clk_add("10000b00.spi", sys_rate);
        ralink_clk_add("10000c00.uartlite", 40000000);
        ralink_clk_add("10100000.ethernet", sys_rate);
+       ralink_clk_add("10180000.wmac", 40000000);
 }
 
 void __init ralink_of_remap(void)