summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-23 07:51:57 +0000
committerJohn Crispin <john@openwrt.org>2014-04-23 07:51:57 +0000
commit720a0a1df14d377832a627591a947432cbb6ab35 (patch)
tree8e250948bb99eb6ccdf6a81368a2c4d729812d67 /target
parentb079019bd922494cd8aeb46db9e586802adfbb85 (diff)
downloadmtk-20170518-720a0a1df14d377832a627591a947432cbb6ab35.zip
mtk-20170518-720a0a1df14d377832a627591a947432cbb6ab35.tar.gz
mtk-20170518-720a0a1df14d377832a627591a947432cbb6ab35.tar.bz2
ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40557
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch b/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
new file mode 100644
index 0000000..c781da6
--- /dev/null
+++ b/target/linux/ramips/patches-3.10/0400-MIPS-ralink-define-clock-for-wmac-on-rt3883.patch
@@ -0,0 +1,10 @@
+--- a/arch/mips/ralink/rt3883.c
++++ b/arch/mips/ralink/rt3883.c
+@@ -111,6 +111,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)